[arch-commits] Commit in ldb/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Thu Sep 20 07:50:58 UTC 2018


    Date: Thursday, September 20, 2018 @ 07:50:58
  Author: tpowa
Revision: 335070

archrelease: copy trunk to testing-x86_64

Added:
  ldb/repos/testing-x86_64/
  ldb/repos/testing-x86_64/PKGBUILD
    (from rev 335069, ldb/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: ldb/repos/testing-x86_64/PKGBUILD (from rev 335069, ldb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-09-20 07:50:58 UTC (rev 335070)
@@ -0,0 +1,43 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Marco A Rojas <marquicus at gmail dot com>
+
+pkgname=ldb
+pkgver=1.4.2
+pkgrel=1
+epoch=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' 'lmdb')
+makedepends=('python2' 'cmocka' 'docbook-xsl')
+optdepends=('python2: for python bindings')
+validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs at samba.org> 
+
+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=('304477df5661ca93ecbfc4787669ae8b'
+         'SKIP')



More information about the arch-commits mailing list