[arch-commits] Commit in gdbm/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Mar 13 09:03:20 UTC 2017
Date: Monday, March 13, 2017 @ 09:03:19
Author: bpiotrowski
Revision: 290778
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gdbm/repos/testing-i686/
gdbm/repos/testing-i686/PKGBUILD
(from rev 290777, gdbm/trunk/PKGBUILD)
gdbm/repos/testing-x86_64/
gdbm/repos/testing-x86_64/PKGBUILD
(from rev 290777, gdbm/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: gdbm/repos/testing-i686/PKGBUILD (from rev 290777, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-03-13 09:03:19 UTC (rev 290778)
@@ -0,0 +1,41 @@
+# $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.13
+pkgrel=1
+pkgdesc='GNU database library'
+url='http://www.gnu.org/software/gdbm/gdbm.html'
+license=(GPL3)
+arch=(i686 x86_64)
+depends=(glibc sh)
+options=(!makeflags)
+source=(http://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
+md5sums=('8929dcda2a8de3fd2367bdbf66769376'
+ '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
+}
Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 290777, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-03-13 09:03:19 UTC (rev 290778)
@@ -0,0 +1,41 @@
+# $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.13
+pkgrel=1
+pkgdesc='GNU database library'
+url='http://www.gnu.org/software/gdbm/gdbm.html'
+license=(GPL3)
+arch=(i686 x86_64)
+depends=(glibc sh)
+options=(!makeflags)
+source=(http://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz{,.sig})
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732')
+md5sums=('8929dcda2a8de3fd2367bdbf66769376'
+ '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