summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/nspr/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD
index 3382b0ce8..f09d31c43 100644
--- a/main/nspr/APKBUILD
+++ b/main/nspr/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nspr
pkgver=4.8.6
-pkgrel=2
+pkgrel=3
pkgdesc="Netscape Portable Runtime"
url="http://www.mozilla.org/projects/nspr/"
arch="all"
@@ -46,6 +46,9 @@ dev() {
depends="$pkgname $depends_dev"
cd "$pkgdir" || return 0
+
+ mv "$pkgdir"/usr/bin/nspr-config "$subpkgdir"/usr/bin
+
for i in usr/include usr/lib/pkgconfig; do
if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
d="$subpkgdir/${i%/*}" # dirname $i
@@ -61,6 +64,7 @@ dev() {
package() {
local file= minor_version=${pkgver#*.}
minor_version=${minor_version%.*}
+ replaces="nspr-dev"
cd "$_builddir"/build
make DESTDIR="$pkgdir" install || die "emake install failed"