diff options
author | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
commit | eb9cc495e6d7c131c76f9abc178ac65f1e20fab1 (patch) | |
tree | 2666e8ff27419292a76d9f521c1a67dde999b26a /extra/libpwquality/PKGBUILD | |
parent | 22f873a6e3ac2c585a28a1ab2561eaea9765cdc6 (diff) |
Sat Nov 2 01:09:32 PDT 2013
Diffstat (limited to 'extra/libpwquality/PKGBUILD')
-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 } |