Fix packagebuild

This commit is contained in:
Mario Hüttel 2022-07-29 19:24:07 +02:00
parent af5378c912
commit 241b943997

View File

@ -1,21 +1,23 @@
pkgname=dirsha256sum pkgname=dirsha256sum
source=('${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git') source=("${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git")
sha1sums=('SKIP') sha1sums=('SKIP')
pkgrel=1
arch=('i686' 'x86_64' 'arm')
pkgdesc="Script to calculate a sha256sum over an entire directory" pkgdesc="Script to calculate a sha256sum over an entire directory"
depends=('coreutils') depends=('coreutils')
provides=('dirsha256sum') provides=('dirsha256sum')
pkgver=bb2839e
pkgver () { pkgver () {
cd "$pkgname" 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 () { prepare () {
:;
} }
build () { build () {
:;
} }
package () { package () {