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

David Runge dvzrv at archlinux.org
Tue Feb 9 21:50:22 UTC 2021


    Date: Tuesday, February 9, 2021 @ 21:50:21
  Author: dvzrv
Revision: 407753

archrelease: copy trunk to testing-x86_64

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

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

Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 407752, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-02-09 21:50:21 UTC (rev 407753)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: 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=2
+pkgdesc='GNU database library'
+url="https://www.gnu.org/software/gdbm/gdbm.html"
+license=('GPL3')
+arch=('x86_64')
+depends=('glibc' 'sh')
+makedepends=('readline')
+provides=('libgdbm_compat.so' 'libgdbm.so')
+source=("https://ftp.gnu.org/gnu/gdbm/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha512sums=('118c5b8cdf74898bfb7c2100302fedf80096be017bf08e80a44486563cad5d93b93567622f2e7c7aceb72f30460504bd0b4ddfccf34df994ed65166e12ecd495'
+            'SKIP')
+b2sums=('92a1a9c461c763b01d7abced58800aa8db200ae746240c8ef8079a615d920efe95f0d805a8cfa63d8aa6bcbda637bcb07d98d630f58de5678b7633c3fcf6bf9b'
+        'SKIP')
+validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <gray at gnu.org>
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -fiv
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --enable-libgdbm-compat
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  depends+=('libreadline.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -vDm 644 {NOTE-WARNING,AUTHORS,NEWS,README,ChangeLog} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list