blob: af26555c95632b748b9a826729f6d372656135d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Lex Black <autumn-wind at web dot de>
pkgname=libscrypt
pkgver=1.22
pkgrel=1
pkgdesc="shared library that implements scrypt() functionality - a replacement for bcrypt()"
arch=(i686 x86_64)
license=('BSD')
url="https://github.com/technion/libscrypt"
source=("$pkgname-$pkgver.tar.gz::https://github.com/technion/$pkgname/archive/v${pkgver}.tar.gz")
sha1sums=('01e1789bcd029ebf6d94c907b7d41889cde3a788')
build() {
cd "$pkgname-$pkgver"
CFLAGS="${CFLAGS} -fPIC" make
}
check() {
cd "$pkgname-$pkgver"
make check
}
package() {
cd "$pkgname-$pkgver"
make PREFIX="/usr" DESTDIR="$pkgdir" install
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|