1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
2 # Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
7 pkgdesc="Password Checking Library"
10 url="https://github.com/cracklib/cracklib"
11 depends=('glibc' 'zlib')
12 source=(https://github.com/cracklib/cracklib/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('268733f8c5f045a08bf1be2950225efeb3d971e31eb543c002269d1a3d98652d')
17 ./configure --prefix=/usr --sbindir=/usr/bin --without-python
28 make DESTDIR="$pkgdir" install
29 # symlink cracklib-small #34778
30 mkdir -p "$pkgdir"/usr/share/dict
31 ln -sf /usr/share/cracklib/cracklib-small "$pkgdir"/usr/share/dict/cracklib-small
32 sh ./util/cracklib-format dicts/cracklib-small \
33 | sh ./util/cracklib-packer "$pkgdir"/usr/share/cracklib/pw_dict