aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdbm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-14 21:20:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-14 21:20:42 +0000
commitb29a5c2e632983629eedf8912c04d28c70d9c176 (patch)
tree0666d19047afc12f3da0aeaf8cf2bd66150d97fd /main/gdbm/APKBUILD
parentdf19cad88d4075c08a666ad8959b433f3da0ec0b (diff)
downloadaports-b29a5c2e632983629eedf8912c04d28c70d9c176.tar.gz
aports-b29a5c2e632983629eedf8912c04d28c70d9c176.tar.bz2
aports-b29a5c2e632983629eedf8912c04d28c70d9c176.tar.xz
main/gdbm: upgrade to 1.13
Diffstat (limited to 'main/gdbm/APKBUILD')
-rw-r--r--main/gdbm/APKBUILD27
1 files changed, 6 insertions, 21 deletions
diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD
index 8137e9bbdb..632bceb5fb 100644
--- a/main/gdbm/APKBUILD
+++ b/main/gdbm/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdbm
-pkgver=1.12
+pkgver=1.13
pkgrel=0
pkgdesc="GNU dbm is a set of database routines that use extensible hashing"
url="http://www.gnu.org/software/gdbm/"
@@ -11,21 +11,11 @@ depends=""
makedepends=""
install=
subpackages="$pkgname-dev $pkgname-doc"
-source="ftp://ftp.nluug.nl/pub/gnu/gdbm/gdbm-$pkgver.tar.gz
- gdbm-1.10-zeroheaders.patch"
-
-_builddir="$srcdir"/gdbm-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="ftp://ftp.nluug.nl/pub/gnu/gdbm/gdbm-$pkgver.tar.gz"
+builddir="$srcdir"/gdbm-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
# we disable large-file due to it makes the db file non-compat
# with gdbm-1.8.3
./configure \
@@ -41,14 +31,9 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9ce96ff4c99e74295ea19040931c8fb9 gdbm-1.12.tar.gz
-ac255b10452005237836cd2d3a470733 gdbm-1.10-zeroheaders.patch"
-sha256sums="d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea gdbm-1.12.tar.gz
-ff33700f7919039037e5f56452c56ca00e968637f6f38485c9b8ae586770ee5a gdbm-1.10-zeroheaders.patch"
-sha512sums="25e03dceed6986f1977d304a5ad059ac6c603a88ad4aa18c831ec42df82d68006f2e04b8a3cc400d0a4970750c78ba24a3f84cdff70de9f278cfd854c059699e gdbm-1.12.tar.gz
-48e41ba3b3b3d6b1c0a0931324fe6341fddbaa1de64aaf8dcdda8adba447e3d72fa8c9e9aff9c6701cc13c6dc57287567aa992e78d5f398d38eb656564137974 gdbm-1.10-zeroheaders.patch"
+sha512sums="fdb777f5b415b0578ea46b4a6fc70151a04a3568e2f2c8c0219ccad8c0d34abb773d80d5d7a06462ad1a3d6c1f3b5b7ab25f9de4f43ccf05c58db05f9a2906ad gdbm-1.13.tar.gz"