aboutsummaryrefslogtreecommitdiffstats
path: root/main/argon2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/argon2/APKBUILD')
-rw-r--r--main/argon2/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/main/argon2/APKBUILD b/main/argon2/APKBUILD
index 7ce733ad9e..b3eb0b1e8a 100644
--- a/main/argon2/APKBUILD
+++ b/main/argon2/APKBUILD
@@ -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
}