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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Nov 5 09:52:49 UTC 2018


    Date: Monday, November 5, 2018 @ 09:52:48
  Author: bpiotrowski
Revision: 337873

archrelease: copy trunk to testing-x86_64

Added:
  gdbm/repos/testing-x86_64/
  gdbm/repos/testing-x86_64/PKGBUILD
    (from rev 337872, gdbm/trunk/PKGBUILD)

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

Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 337872, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-11-05 09:52:48 UTC (rev 337873)
@@ -0,0 +1,39 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=gdbm
+pkgver=1.18.1
+pkgrel=1
+pkgdesc='GNU database library'
+url='http://www.gnu.org/software/gdbm/gdbm.html'
+license=(GPL3)
+arch=(x86_64)
+depends=(glibc sh)
+source=(http://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
+md5sums=('988dc82182121c7570e0cb8b4fcd5415'
+         'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --enable-libgdbm-compat
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # create symlinks for compatibility
+  install -dm755 "$pkgdir/usr/include/gdbm"
+  ln -sf ../gdbm.h "$pkgdir/usr/include/gdbm/gdbm.h"
+  ln -sf ../ndbm.h "$pkgdir/usr/include/gdbm/ndbm.h"
+  ln -sf ../dbm.h  "$pkgdir/usr/include/gdbm/dbm.h"
+}


More information about the arch-commits mailing list