diff options
Diffstat (limited to 'extra/libpwquality')
-rw-r--r-- | extra/libpwquality/PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/libpwquality/PKGBUILD b/extra/libpwquality/PKGBUILD index e5340786b..4cc106cb7 100644 --- a/extra/libpwquality/PKGBUILD +++ b/extra/libpwquality/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 198224 2013-10-30 13:34:10Z allan $ +# $Id: PKGBUILD 198657 2013-11-01 14:49:41Z eric $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libpwquality -pkgver=1.2.2 +pkgver=1.2.3 pkgrel=1 pkgdesc="Library for password quality checking and generating random passwords" arch=('i686' 'x86_64') @@ -12,16 +12,18 @@ depends=('cracklib') optdepends=('python2: Python bindings') makedepends=('python2') source=(https://fedorahosted.org/releases/l/i/libpwquality/$pkgname-$pkgver.tar.bz2) -md5sums=('2105bb893791fe27efc20441e617f385') +md5sums=('a8d4cf5d40a1c301f965432e6f3b821b') -build() { +prepare() { cd "$pkgname-$pkgver" sed -i -e 's/python setup.py/python2 setup.py/' python/Makefile.in +} +build() { + cd "$pkgname-$pkgver" PYTHON=python2 ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static \ --with-python-rev=2.7 make } |