aboutsummaryrefslogtreecommitdiffstats
path: root/main/db/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/db/APKBUILD')
-rw-r--r--main/db/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index f53ac2aab2..e245e03cb6 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -2,7 +2,7 @@
pkgname=db
pkgver=5.1.25
_ver=${pkgver}
-pkgrel=0
+pkgrel=1
pkgdesc="The Berkeley DB embedded database system 4.8"
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
arch="all"
@@ -35,7 +35,8 @@ build () {
package() {
cd "$srcdir"/db-$_ver/build_unix
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/docs "$pkgdir"/usr/share/doc/$pkgname