2022-07-29 19:18:59 +02:00
|
|
|
pkgname=dirsha256sum
|
2022-07-29 19:24:07 +02:00
|
|
|
source=("${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git")
|
2022-07-29 19:18:59 +02:00
|
|
|
sha1sums=('SKIP')
|
2022-07-29 19:24:07 +02:00
|
|
|
pkgrel=1
|
|
|
|
arch=('i686' 'x86_64' 'arm')
|
2022-07-29 19:18:59 +02:00
|
|
|
pkgdesc="Script to calculate a sha256sum over an entire directory"
|
|
|
|
depends=('coreutils')
|
|
|
|
provides=('dirsha256sum')
|
2022-07-29 19:24:07 +02:00
|
|
|
pkgver=bb2839e
|
|
|
|
pkgver () {
|
2022-07-29 19:18:59 +02:00
|
|
|
cd "$pkgname"
|
2022-07-29 19:24:07 +02:00
|
|
|
git describe --long --always --tags | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
2022-07-29 19:18:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
prepare () {
|
2022-07-29 19:24:07 +02:00
|
|
|
:;
|
2022-07-29 19:18:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build () {
|
2022-07-29 19:24:07 +02:00
|
|
|
:;
|
2022-07-29 19:18:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package () {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
install -D -m775 "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
|
|
|
}
|