diff options
-rw-r--r-- | abs/core/cracklib/PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/abs/core/cracklib/PKGBUILD b/abs/core/cracklib/PKGBUILD index 597e160..fa51f42 100644 --- a/abs/core/cracklib/PKGBUILD +++ b/abs/core/cracklib/PKGBUILD @@ -1,26 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Judd Vinet <jvinet@zeroflux.org> +# $Id: PKGBUILD 82645 2010-06-15 04:51:02Z allan $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com> + pkgname=cracklib -pkgver=2.8.10 -pkgrel=14 +pkgver=2.8.16 +pkgrel=1 pkgdesc="Password Checking Library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') url="http://sourceforge.net/projects/cracklib" -groups=('base') -depends=('glibc') +depends=('glibc' 'zlib') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('555f7832b63ebc7fb70b0373500c2358') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --without-python make || return 1 - mkdir -p $startdir/pkg/usr/share/dict - make DESTDIR=$startdir/pkg install - cp dicts/cracklib-small $startdir/pkg/usr/share/dict +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small sh ./util/cracklib-format dicts/cracklib-small \ - | sh ./util/cracklib-packer $startdir/pkg/usr/share/cracklib/pw_dict + | sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict } +md5sums=('3bfb22db8fcffd019463ee415a1b25b7') |