diff options
author | root <root@rshg054.dnsready.net> | 2012-09-26 00:54:07 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-26 00:54:07 -0700 |
commit | 483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (patch) | |
tree | 296f95ddbf8e5cd3ddfeea60e88a64b3593f9e1e /gnome-unstable/libpwquality | |
parent | fca7e8a735bd3ae5114a3cdf12efbce3b1d10224 (diff) |
Wed Sep 26 00:54:06 PDT 2012
Diffstat (limited to 'gnome-unstable/libpwquality')
-rw-r--r-- | gnome-unstable/libpwquality/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnome-unstable/libpwquality/PKGBUILD b/gnome-unstable/libpwquality/PKGBUILD new file mode 100644 index 000000000..b40a35d4b --- /dev/null +++ b/gnome-unstable/libpwquality/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libpwquality +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Library for password quality checking and generating random passwords" +arch=('i686' 'x86_64') +url="https://fedorahosted.org/libpwquality/" +license=('GPL') +options=('!libtool') +depends=('cracklib') +optdepends=('python2: Python bindings') +makedepends=('python2') +source=(https://fedorahosted.org/releases/l/i/libpwquality/$pkgname-$pkgver.tar.bz2) +md5sums=('8827419118064539db70090cbed5cb21') + +build() { + cd "$pkgname-$pkgver" + sed -i -e 's/python setup.py/python2 setup.py/' python/Makefile.in + + PYTHON=python2 ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} |