aboutsummaryrefslogtreecommitdiffstats
path: root/community/libpwquality/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libpwquality/APKBUILD')
-rw-r--r--community/libpwquality/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/libpwquality/APKBUILD b/community/libpwquality/APKBUILD
index 8b3e758439..d3c5b1f6a8 100644
--- a/community/libpwquality/APKBUILD
+++ b/community/libpwquality/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libpwquality
pkgver=1.4.4
-pkgrel=0
+pkgrel=2
pkgdesc="Password quality checking library"
url="https://github.com/libpwquality/libpwquality"
arch="all"
@@ -10,9 +10,12 @@ depends="cracklib-words"
makedepends="cracklib-dev python3-dev linux-pam-dev"
options="!check" # no tests
subpackages="$pkgname-static $pkgname-dev $pkgname-doc py3-$pkgname:_py3 $pkgname-lang"
-source="https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$pkgver/libpwquality-$pkgver.tar.bz2"
+source="https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$pkgver/libpwquality-$pkgver.tar.bz2
+ 0001-fix-musl-build.patch
+ "
build() {
+ LDFLAGS="$LDFLAGS -lintl" \
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,4 +42,5 @@ _py3() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-sha512sums="2d49b79105361663f009f7183fde9123e6f1e63bd678dfe5418143f611e763af8dd44374b826b3c22a00e721047c539741dc44d99a2289b9ab229791768d6e76 libpwquality-1.4.4.tar.bz2"
+sha512sums="2d49b79105361663f009f7183fde9123e6f1e63bd678dfe5418143f611e763af8dd44374b826b3c22a00e721047c539741dc44d99a2289b9ab229791768d6e76 libpwquality-1.4.4.tar.bz2
+c0b01bbb798a13b706668bdad028334ca6b4bb384dee5d6aefabbd0f4c1946c7e73e50197ced65c959655623570660ed06ef760599e02b770f1d4e4042117912 0001-fix-musl-build.patch"