summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-11-29 21:22:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-11-29 21:22:12 +0000
commitf870a88e34c041d649a8d42d40669ad3b3003929 (patch)
tree1a50aa9e52c2ae61f4167080e1b9ae5e55ade6ed
parent50b544ab1fb52fb631055652ae34ef4c5824fa4d (diff)
downloadpackages-f870a88e34c041d649a8d42d40669ad3b3003929.tar.gz
packages-f870a88e34c041d649a8d42d40669ad3b3003929.tar.bz2
packages-f870a88e34c041d649a8d42d40669ad3b3003929.tar.xz
packages-f870a88e34c041d649a8d42d40669ad3b3003929.zip
system/argon2: Fix pkgconfig file installation
-rw-r--r--system/argon2/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/argon2/APKBUILD b/system/argon2/APKBUILD
index 42d459e1f..c7a1bd6c2 100644
--- a/system/argon2/APKBUILD
+++ b/system/argon2/APKBUILD
@@ -4,7 +4,7 @@
pkgname=argon2
_pkgname=phc-winner-argon2
pkgver=20190702
-pkgrel=0
+pkgrel=1
pkgdesc="Password hashing library"
url="https://github.com/P-H-C/phc-winner-argon2"
arch="all"
@@ -30,7 +30,8 @@ package() {
sed -i 's#libdir=${prefix}/lib#libdir=/lib#' "$builddir"/libargon2.pc
make OPTTARGET=none DESTDIR="$pkgdir" LIBRARY_REL=lib install
# ...but cryptsetup needs this in /lib for early-boot
- mv "$pkgdir"/usr/lib "$pkgdir"/
+ mkdir "$pkgdir"/lib
+ mv "$pkgdir"/usr/lib/lib* "$pkgdir"/lib
}
sha512sums="0a4cb89e8e63399f7df069e2862ccd05308b7652bf4ab74372842f66bcc60776399e0eaf979a7b7e31436b5e6913fe5b0a6949549d8c82ebd06e0629b106e85f argon2-20190702.tar.gz"