From 0a66b29837912ffee94e074fc35ba46896a96f2a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 28 Jun 2013 00:32:41 -0700 Subject: Fri Jun 28 00:32:41 PDT 2013 --- community/python2-ldap/PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'community/python2-ldap/PKGBUILD') diff --git a/community/python2-ldap/PKGBUILD b/community/python2-ldap/PKGBUILD index 548ac6af6..7086a3b52 100644 --- a/community/python2-ldap/PKGBUILD +++ b/community/python2-ldap/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 72704 2012-06-20 12:26:14Z spupykin $ +# $Id: PKGBUILD 93180 2013-06-27 12:10:25Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Morgan LEFIEUX pkgname=python2-ldap -pkgver=2.4.10 +pkgver=2.4.13 pkgrel=1 pkgdesc="Provides an object-oriented API to access LDAP directory servers from Python programs" arch=('i686' 'x86_64') @@ -13,12 +13,16 @@ depends=('python2' 'libldap>=2.4.26') makedepends=('chrpath') replaces=('python-ldap') source=(http://pypi.python.org/packages/source/p/python-ldap/python-ldap-$pkgver.tar.gz) -md5sums=('a15827ca13c90e9101e5e9405c1d83be') +md5sums=('74b7b50267761540451eade44b2049ee') build() { cd $srcdir/python-ldap-$pkgver sed -i 's|||' Modules/LDAPObject.c python2 setup.py build +} + +package() { + cd $srcdir/python-ldap-$pkgver python2 setup.py install --root $pkgdir install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE chrpath -d $pkgdir/usr/lib/python2.7/site-packages/_ldap.so -- cgit v1.2.3-54-g00ecf