From 9710e1571a570011ab7e482f8844a5380c582eb6 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 22 Jan 2011 16:32:28 -0600 Subject: main/nspr: replaces fixups --- main/nspr/APKBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'main/nspr/APKBUILD') 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 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" -- cgit v1.2.3