[arch-commits] Commit in libpwquality/repos (4 files)

Jan de Groot jgc at archlinux.org
Tue Sep 25 10:20:36 UTC 2012


    Date: Tuesday, September 25, 2012 @ 06:20:35
  Author: jgc
Revision: 167085

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  libpwquality/repos/gnome-unstable-i686/
  libpwquality/repos/gnome-unstable-i686/PKGBUILD
    (from rev 167084, libpwquality/trunk/PKGBUILD)
  libpwquality/repos/gnome-unstable-x86_64/
  libpwquality/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 167084, libpwquality/trunk/PKGBUILD)

--------------------------------+
 gnome-unstable-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: libpwquality/repos/gnome-unstable-i686/PKGBUILD (from rev 167084, libpwquality/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2012-09-25 10:20:35 UTC (rev 167085)
@@ -0,0 +1,32 @@
+# $Id: $
+# Maintainer: Jan de Groot <jgc at 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
+}

Copied: libpwquality/repos/gnome-unstable-x86_64/PKGBUILD (from rev 167084, libpwquality/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2012-09-25 10:20:35 UTC (rev 167085)
@@ -0,0 +1,32 @@
+# $Id: $
+# Maintainer: Jan de Groot <jgc at 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
+}




More information about the arch-commits mailing list