projects/aports·commit 8bb5586f

main/argon2: fix pkgconfig version

8bb5586f · Leo <[email protected]> · 2019-11-16 17:51:42 +01:00

Closes !1322
Commit
8bb5586fea347052fe0debde4c2ba06fbf3e61ba
Parents
357a1791

Changes

1 files changed · +2 −5

FileStatusAddDelContent
main/argon2/APKBUILDmodified+2−5View file

main/argon2/APKBUILD

View file
diff --git a/main/argon2/APKBUILD b/main/argon2/APKBUILD
index 7ce733a..b3eb0b1 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
}