author | Tobias Powalowski
<tpowa@archlinux.org> 2013-05-08 13:28:51 UTC |
committer | Tobias Powalowski
<tpowa@archlinux.org> 2013-05-08 13:28:51 UTC |
parent | 4d296dca1c542eb68b14a9fc1478fb554a5ec98f |
PKGBUILD | +4 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index e77a293..f5f3146 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=cracklib pkgver=2.8.22 -pkgrel=1 +pkgrel=2 pkgdesc="Password Checking Library" arch=('i686' 'x86_64') license=('GPL') @@ -27,7 +27,9 @@ check() { package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install - install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small + # symlink cracklib-small #34778 + mkdir -p $pkgdir/usr/share/dict + ln -sf /usr/share/cracklib/cracklib-small $pkgdir/usr/share/dict/cracklib-small sh ./util/cracklib-format dicts/cracklib-small \ | sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict }