blob: 331d7891690fbe101f45c6941aeac535b5c5230e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer:
pkgname=libpwquality
pkgver=1.4.0
pkgrel=0
pkgdesc="password quality library"
url="http://github.com/libpwquality/libpwquality"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="cracklib-dev $depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$pkgver/libpwquality-$pkgver.tar.bz2"
builddir="$srcdir/libpwquality-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-python-bindings \
--disable-pam
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b8049f8b71bbfd4d345dbd4c4cffd29e9029b0fca4c95527af54d11a3b06e4708236b630df6c66738368298679c96cb3bf26b1b5d95cb3c5f7e1073cab8a98d9 libpwquality-1.4.0.tar.bz2"
|