diff options
Diffstat (limited to 'libsha1/PKGBUILD')
-rw-r--r-- | libsha1/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libsha1/PKGBUILD b/libsha1/PKGBUILD new file mode 100644 index 0000000..2a0de0b --- /dev/null +++ b/libsha1/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libsha1 +pkgver=1.0 +pkgrel=1 +pkgdesc="SHA-1 and SHA-0 hashing library" +arch=(i686 x86_64) +url="https://github.com/maandree/libsha1" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=(libsha1-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(94b9de0edde7a922bb96ccc3585f06b9d9bce0adc0261bfd4e19048544782825) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} |