diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-22 16:37:55 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-22 16:37:55 -0600 |
commit | 933c5939c1d55289ce7a7ea796e74656526ff5e9 (patch) | |
tree | 2bf658aaa38b0da929a2cd03a3a7b558ce57ad07 /main/nss/APKBUILD | |
parent | 55436a42a8031c24b5306ae730eafe923de9804a (diff) | |
download | aports-933c5939c1d55289ce7a7ea796e74656526ff5e9.tar.bz2 aports-933c5939c1d55289ce7a7ea796e74656526ff5e9.tar.xz |
main/nss: put nss-config where it belongs
Diffstat (limited to 'main/nss/APKBUILD')
-rw-r--r-- | main/nss/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/nss/APKBUILD b/main/nss/APKBUILD index 2acb2d816..b56e46f8c 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 |