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

Evangelos Foutras foutrelis at archlinux.org
Thu Jan 10 15:18:42 UTC 2019


    Date: Thursday, January 10, 2019 @ 15:18:41
  Author: foutrelis
Revision: 343481

archrelease: copy trunk to staging-x86_64

Added:
  gdbm/repos/staging-x86_64/
  gdbm/repos/staging-x86_64/PKGBUILD
    (from rev 343480, gdbm/trunk/PKGBUILD)

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

Copied: gdbm/repos/staging-x86_64/PKGBUILD (from rev 343480, gdbm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-01-10 15:18:41 UTC (rev 343481)
@@ -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=2
+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