diff --git a/AUR/PKGBUILD b/AUR/PKGBUILD index b7bbdfd..71221bd 100644 --- a/AUR/PKGBUILD +++ b/AUR/PKGBUILD @@ -1,21 +1,23 @@ pkgname=dirsha256sum -source=('${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git') +source=("${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git") sha1sums=('SKIP') +pkgrel=1 +arch=('i686' 'x86_64' 'arm') pkgdesc="Script to calculate a sha256sum over an entire directory" depends=('coreutils') provides=('dirsha256sum') - -pkgver() { +pkgver=bb2839e +pkgver () { cd "$pkgname" - git describe --long | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --always --tags | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare () { - + :; } build () { - + :; } package () {