[arch-commits] Commit in ldb/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Mar 28 17:54:44 UTC 2020


    Date: Saturday, March 28, 2020 @ 17:54:43
  Author: anthraxx
Revision: 378621

upgpkg: ldb 1:2.0.7-2: depend on soname to avoid future breakage

Modified:
  ldb/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++----------------------
 1 file changed, 23 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-28 17:50:27 UTC (rev 378620)
+++ PKGBUILD	2020-03-28 17:54:43 UTC (rev 378621)
@@ -4,36 +4,37 @@
 
 pkgname=ldb
 pkgver=2.0.7
-pkgrel=1
+pkgrel=2
 epoch=1
-pkgdesc="A schema-less, ldap like, API and database"
+pkgdesc='Schema-less, ldap like, API and database'
 arch=('x86_64')
 url="https://ldb.samba.org/"
-source=(https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
-        https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.asc)
+source=(https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar{.gz,.asc})
 license=('GPL3')
-depends=('talloc' 'tevent' 'tdb' 'popt' 'lmdb')
-makedepends=('python' 'cmocka' 'docbook-xsl')
+depends=('talloc' 'libtevent.so' 'tdb' 'libtdb.so' 'popt' 'lmdb')
+makedepends=('python' 'cmocka' 'docbook-xsl' 'tevent')
 optdepends=('python: for python bindings')
-validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs at samba.org> 
+provides=(libldb.so)
+validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs at samba.org>
+sha512sums=('0b1bd5970421c32bee1209179eac60682d7304aca597bca11dd477903f59b53a2fbc7d9e1717809e9a8e550564a9ca9139dd1127b9f4cefcc2437d7c8050985a'
+            'SKIP')
 
 build() {
-	cd ${pkgname}-${pkgver}
-
-	./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
+  cd ${pkgname}-${pkgver}
+  ./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 ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
 
-	make DESTDIR="${pkgdir}/" install
-}
-md5sums=('324992dc4c71a4b00686b3dc34c2b9cb'
-         'SKIP')
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list