1 # Contributor: sev <alpine@sev.monster>
2 # Maintainer: sev <alpine@sev.monster>
6 pkgdesc="Module package for implementing LDAP clients"
7 url="https://code.stroeder.com/pymod/python-ldap0.git"
10 makedepends="python3-dev py3-setuptools openldap-dev"
12 #source="https://code.stroeder.com/pymod/python-ldap0/tags"
13 source="https://gitlab.com/ae-dir/python-ldap0/-/archive/v$pkgver/python-ldap0-v$pkgver.tar.gz"
14 builddir="$srcdir/python-ldap0-v$pkgver"
17 # XXX: fix openldap: https://stackoverflow.com/a/70207990
18 if [ ! -e /usr/lib/libldap_r.so ]; then
19 echo -n "INPUT ( libldap.so )" | sudo tee /usr/lib/libldap_r.so >/dev/null
21 python3 setup.py build
25 python3 setup.py check
29 python3 setup.py install --prefix=/usr --root="$pkgdir"
33 b7418f795ec8c2172f61d90f9ace31e9fdd0e36f6627420674f819aba81e8004da9bdc2aa6fdd188b0c694691715c4f859b00bd04ef27d492983d3db1d8c85ae python-ldap0-v1.4.8.tar.gz