mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
839 B
Bash
25 lines
839 B
Bash
# $Id: PKGBUILD 2646 2009-09-19 18:26:06Z ibiru $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Morgan LEFIEUX <comete_AT_archlinuxfr.org>
|
|
|
|
pkgname=python-ldap
|
|
pkgver=2.3.9
|
|
pkgrel=2
|
|
pkgdesc="Provides an object-oriented API to access LDAP directory servers from Python programs"
|
|
arch=('i686' 'x86_64')
|
|
url="http://python-ldap.sourceforge.net"
|
|
license=('custom')
|
|
depends=('python' 'libldap>=2.4.18')
|
|
source=(http://pypi.python.org/packages/source/p/python-ldap/python-ldap-$pkgver.tar.gz)
|
|
md5sums=('a9f9f16338288d118a1ae6266c993247')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
sed -i 's|<sasl.h>|<sasl/sasl.h>|' Modules/LDAPObject.c
|
|
|
|
python setup.py build || return 1
|
|
python setup.py install --root $startdir/pkg || return 1
|
|
|
|
install -D -m644 LICENCE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
}
|