# $Id$ # Maintainer: Tobias Powalowski # Contributor: Christian Hesse # Contributor: Marco A Rojas pkgname=ldb pkgver=1.3.2 pkgrel=1 pkgdesc="A schema-less, ldap like, API and database" arch=('x86_64') url="http://ldb.samba.org/" source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc) license=('GPL3') depends=('talloc' 'tevent' 'tdb' 'popt') makedepends=('python2' 'cmocka') optdepends=('python2: for python bindings') validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key build() { cd ${srcdir}/${pkgname}-${pkgver} # change to use python2 sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf export PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \ --builtin-libraries=replace \ --with-modulesdir=/usr/lib/ldb/modules \ --with-privatelibdir=/usr/lib/ldb make } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir}/ install } md5sums=('c9433cc914c181481f63dedd7fce5be8' 'SKIP')