[arch-commits] Commit in libpwquality/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Dec 22 15:14:03 UTC 2015


    Date: Tuesday, December 22, 2015 @ 16:14:03
  Author: jgc
Revision: 257153

upgpkg: libpwquality 1.3.0-1

Modified:
  libpwquality/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-22 15:07:05 UTC (rev 257152)
+++ PKGBUILD	2015-12-22 15:14:03 UTC (rev 257153)
@@ -2,29 +2,26 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libpwquality
-pkgver=1.2.3
+pkgver=1.3.0
 pkgrel=1
 pkgdesc="Library for password quality checking and generating random passwords"
 arch=('i686' 'x86_64')
 url="https://fedorahosted.org/libpwquality/"
 license=('GPL')
-depends=('cracklib')
+depends=('cracklib' 'pam')
 optdepends=('python2: Python bindings')
 makedepends=('python2')
 source=(https://fedorahosted.org/releases/l/i/libpwquality/$pkgname-$pkgver.tar.bz2)
-md5sums=('a8d4cf5d40a1c301f965432e6f3b821b')
+md5sums=('2a3d4ba1d11b52b4f6a7f39622ebf736')
 
-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 \
+    ./configure --prefix=/usr \
         --sysconfdir=/etc \
         --localstatedir=/var \
-        --with-python-rev=2.7
+        --with-python-rev=2.7 \
+        --with-python-binary=python2
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
     make
 }
 



More information about the arch-commits mailing list