Add PKGBUILD for Arch
This commit is contained in:
parent
bb2839e03a
commit
af5378c912
24
AUR/PKGBUILD
Normal file
24
AUR/PKGBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
pkgname=dirsha256sum
|
||||
source=('${pkgname}::git+https://git.shimatta.de/mhu/dirsha256sum.git')
|
||||
sha1sums=('SKIP')
|
||||
pkgdesc="Script to calculate a sha256sum over an entire directory"
|
||||
depends=('coreutils')
|
||||
provides=('dirsha256sum')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
git describe --long | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare () {
|
||||
|
||||
}
|
||||
|
||||
build () {
|
||||
|
||||
}
|
||||
|
||||
package () {
|
||||
cd "$srcdir/$pkgname"
|
||||
install -D -m775 "$srcdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
|
||||
}
|
Loading…
Reference in New Issue
Block a user