aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gdbm/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD
index a24bfb1f47..f7d3a5d3ed 100644
--- a/main/gdbm/APKBUILD
+++ b/main/gdbm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gdbm
pkgver=1.8.3
-pkgrel=1
+pkgrel=2
pkgdesc="GNU dbm is a set of database routines that use extensible hashing"
url="http://www.gnu.org/software/gdbm/"
license="GPL"
@@ -28,6 +28,10 @@ build() {
--disable-dependency-tracking \
--enable-fast-install
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir" install || return 1
make INSTALL_ROOT="$pkgdir" install-compat || return 1
mv "${pkgdir}"/usr/include/gdbm/gdbm.h "${pkgdir}"/usr/include/