blob: dea5d1844583e20dbe0f21705cb2d027427f24cd (
plain) (
tree)
|
|
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=libsha1
pkgver=1.1
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=(507468eaf04aa6f9a6aa9215d1d6bef105b318b8e4452018d9a6c8c7cf4aefa6)
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
}
|