updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / python-crack / PKGBUILD
blobf1dad95909e9db44f9ac61c395248e506651e00d
1 # Contributor: Jon Wilson <bugs@erentil.net>
3 pkgname=python-crack
4 pkgver=0.5.1
5 pkgrel=2
6 pkgdesc="Python bindings for cracklib."
7 depends=('python' 'glibc' 'cracklib')
8 license=('MIT/X')
9 url="http://www.nongnu.org/python-crack/"
10 source=(http://download.savannah.gnu.org/releases/python-crack/python-crack-$pkgver.tar.gz)
11 md5sums=('0a0cadc8679e8dcb052dd9c22a5e032e')
12 options=('')
13 arch=('i686' 'x86_64')
14 build()
16   cd $startdir/src/$pkgname-$pkgver || return 1
18   DEFAULT_DICTPATH=/usr/share/cracklib/pw_dict ./configure --prefix=/usr || return 1
19   make || return 1
20   make DESTDIR=$startdir/pkg install || return 1