mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-26 11:02:20 +01:00
parent
357a1791e9
commit
8bb5586fea
@ -4,7 +4,7 @@
|
||||
pkgname=argon2
|
||||
_pkgname=phc-winner-argon2
|
||||
pkgver=20190702
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="The password hash Argon2, winner of PHC"
|
||||
url="https://github.com/P-H-C/phc-winner-argon2"
|
||||
arch="all"
|
||||
@ -15,17 +15,14 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/P-H-C/$_pkgname/archive/$pkg
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
make OPTTARGET=none
|
||||
make OPTTARGET=none ARGON2_VERSION=$pkgver
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make OPTTARGET=none test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make OPTTARGET=none LIBRARY_REL=lib DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user