aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/xulrunner/APKBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/testing/xulrunner/APKBUILD b/testing/xulrunner/APKBUILD
index 0026b93588..b9a46dd3ef 100644
--- a/testing/xulrunner/APKBUILD
+++ b/testing/xulrunner/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xulrunner
pkgver=1.9.2.13
-pkgrel=2
+pkgrel=3
pkgdesc="runtime environment for xul-based applications"
url="http://developer.mozilla.org/en/XULRunner"
arch="all"
@@ -87,12 +87,9 @@ package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
- install -d "${pkgdir}"/etc/ld.so.conf.d
- echo "/usr/lib/xulrunner-1.9.2" > "${pkgdir}"/etc/ld.so.conf.d/xulrunner.conf
-
- mv "${pkgdir}"/usr/lib/xulrunner-${_xulrunner_version}/libxul.so "${pkgdir}"/usr/lib
- mv "${pkgdir}"/usr/lib/xulrunner-${_xulrunner_version}/libxpcom.so "${pkgdir}"/usr/lib
- mv "${pkgdir}"/usr/lib/xulrunner-${_xulrunner_version}/libmozjs.so "${pkgdir}"/usr/lib
+ ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libxul.so "${pkgdir}"/usr/lib/libxul.so
+ ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libxpcom.so "${pkgdir}"/usr/lib/libxpcom.so
+ ln -sf /usr/lib/xulrunner-${_xulrunner_version}/libmozjs.so "${pkgdir}"/usr/lib/libmozjs.so
}
md5sums="211464d0b19b21ce0db63f7bd6549466 xulrunner-1.9.2.13.source.tar.bz2