libscrypt: auto updated to 1.22-1

This commit is contained in:
Lilac 2023-08-23 12:01:04 +00:00
parent 605fe3d416
commit a6f032df0b

31
repo/libscrypt/PKGBUILD Normal file
View file

@ -0,0 +1,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"
}