summaryrefslogtreecommitdiff
path: root/core/gdbm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/gdbm/PKGBUILD')
-rw-r--r--core/gdbm/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/core/gdbm/PKGBUILD b/core/gdbm/PKGBUILD
index 0e806f3de..71da45002 100644
--- a/core/gdbm/PKGBUILD
+++ b/core/gdbm/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 143800 2011-11-29 13:32:53Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# $Id: PKGBUILD 195488 2013-10-01 06:09:23Z bpiotrowski $
+# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=gdbm
pkgver=1.10
-pkgrel=1.1
+pkgrel=2
pkgdesc="GNU database library"
url="http://www.gnu.org/software/gdbm/gdbm.html"
license=('GPL')
@@ -17,7 +17,8 @@ options=('!libtool' '!makeflags')
install=gdbm.install
md5sums=('88770493c2559dc80b561293e39d3570'
'ac255b10452005237836cd2d3a470733')
-build() {
+
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Prevent gdbm from storing uninitialized memory content
@@ -27,6 +28,10 @@ build() {
# https://bugzilla.redhat.com/show_bug.cgi?id=4457
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208927
patch -Np1 -i ../gdbm-1.10-zeroheaders.patch
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--mandir=/usr/share/man \