aports/testing/scrypt/APKBUILD
2022-02-01 01:15:56 -03:00

37 lines
768 B
Plaintext

# Contributor: Nulo <alpine@nulo.in>
# Maintainer: Nulo <alpine@nulo.in>
pkgname=scrypt
pkgver=1.3.1
pkgrel=0
pkgdesc="A password-based encryption utility"
url="https://www.tarsnap.com/scrypt.html"
arch="all"
license="BSD-2-Clause"
depends_dev="openssl-dev"
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="https://www.tarsnap.com/scrypt/scrypt-$pkgver.tgz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
c76c29463d2a4db6b62283daca80bc4124a6272f37f983d472d44251b98da702f1edb16ad15058a8d0ea320c23bc1486892ab25d367d37ec77c38a55ad7e69fe scrypt-1.3.1.tgz
"