aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 16:32:28 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 16:32:28 -0600
commit9710e1571a570011ab7e482f8844a5380c582eb6 (patch)
tree66b42b49449ae236dae071c0dbc01fc34c83fe86 /main/nspr/APKBUILD
parent1c49dc9b4e086b96deffd35effcb1befd259507d (diff)
downloadaports-9710e1571a570011ab7e482f8844a5380c582eb6.tar.bz2
aports-9710e1571a570011ab7e482f8844a5380c582eb6.tar.xz
main/nspr: replaces fixups
Diffstat (limited to 'main/nspr/APKBUILD')
-rw-r--r--main/nspr/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD
index 3382b0ce8c..f09d31c431 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"