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

Antonio Rojas arojas at archlinux.org
Fri Dec 25 09:26:19 UTC 2020


    Date: Friday, December 25, 2020 @ 09:26:18
  Author: arojas
Revision: 405008

archrelease: copy trunk to testing-x86_64

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

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

Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 405007, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-12-25 09:26:18 UTC (rev 405008)
@@ -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.19
+pkgrel=1
+pkgdesc='GNU database library'
+url='https://www.gnu.org/software/gdbm/gdbm.html'
+license=(GPL3)
+arch=(x86_64)
+depends=(glibc sh)
+source=(https://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
+sha256sums=('37ed12214122b972e18a0d94995039e57748191939ef74115b1d41d8811364bc'
+            '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