[arch-commits] Commit in gdbm/repos (testing-x86_64 testing-x86_64/PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Sep 5 17:32:24 UTC 2021
Date: Sunday, September 5, 2021 @ 17:32:24
Author: dvzrv
Revision: 423446
archrelease: copy trunk to testing-x86_64
Added:
gdbm/repos/testing-x86_64/
gdbm/repos/testing-x86_64/PKGBUILD
(from rev 423445, gdbm/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: gdbm/repos/testing-x86_64/PKGBUILD (from rev 423445, gdbm/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-09-05 17:32:24 UTC (rev 423446)
@@ -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.21
+pkgrel=1
+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=('b2a31802d1af9f97b24d3dd01cb048bab4a8e748297f1b70851c0342400dde4281242b7f80bd92a36035e22398d240d131b550ab444ee838a077522a6921fa43'
+ 'SKIP')
+b2sums=('1f9b04507601b9660a9a81edc29e9b7c0d9adececf21e372670bcf1acf3d0551d858af3e7cf9202b460691cc851ca6dfcc5014ae28161b06f31c9442d3a9fe96'
+ '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