summaryrefslogtreecommitdiffstats
path: root/main/nss
diff options
context:
space:
mode:
Diffstat (limited to 'main/nss')
-rw-r--r--main/nss/APKBUILD8
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