From 933c5939c1d55289ce7a7ea796e74656526ff5e9 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 22 Jan 2011 16:37:55 -0600 Subject: main/nss: put nss-config where it belongs --- main/nss/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'main/nss') diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD index 2acb2d8167..b56e46f8c2 100644 --- a/main/nss/APKBUILD +++ b/main/nss/APKBUILD @@ -2,7 +2,7 @@ pkgname=nss pkgver=3.12.8 _ver=3_12_8 -pkgrel=2 +pkgrel=3 pkgdesc="Mozilla Network Security Services" url="http://www.mozilla.org/projects/security/pki/nss/" arch="all" @@ -51,7 +51,10 @@ build() { } package() { + replaces="nss-dev" + cd "$_builddir" + install -m755 -d "$pkgdir"/usr/lib/pkgconfig install -m755 -d "$pkgdir"/usr/bin install -m755 -d "$pkgdir"/usr/include/nss @@ -111,6 +114,9 @@ dev() { local i= j= depends="$pkgname $depends_dev" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/nss-config "$subpkgdir"/usr/bin + cd "$pkgdir" || return 0 for i in usr/include usr/lib/pkgconfig; do if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then -- cgit v1.2.3