[arch-commits] Commit in gdbm/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Aug 23 08:29:13 UTC 2018
Date: Thursday, August 23, 2018 @ 08:29:12
Author: bpiotrowski
Revision: 332847
archrelease: copy trunk to testing-x86_64
Added:
gdbm/repos/testing-x86_64/
gdbm/repos/testing-x86_64/PKGBUILD
(from rev 332846, gdbm/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 332846, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-08-23 08:29:12 UTC (rev 332847)
@@ -0,0 +1,40 @@
+# $Id$
+# 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
+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=('e316f8e4a3e7e4f23955be65d54fec48'
+ '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