aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xulrunner
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 00:44:38 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-22 00:44:38 -0600
commitfc57fec277cad72ddff9012a535f2f672daf7903 (patch)
treec85111ced006f0435bd44d2e173f652d34096a8b /testing/xulrunner
parent0e7ddfe93a5f7fe6943b9511c7b0a7976ffc699b (diff)
downloadaports-fc57fec277cad72ddff9012a535f2f672daf7903.tar.bz2
aports-fc57fec277cad72ddff9012a535f2f672daf7903.tar.xz
testing/xulrunner: use symlinks so that xul apps will boot
Diffstat (limited to 'testing/xulrunner')
-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