aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xulrunner/APKBUILD')
-rw-r--r--main/xulrunner/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/xulrunner/APKBUILD b/main/xulrunner/APKBUILD
index ec91a9b3d3..da9db85e49 100644
--- a/main/xulrunner/APKBUILD
+++ b/main/xulrunner/APKBUILD
@@ -3,7 +3,7 @@
pkgname=xulrunner
pkgver=2.0.1
_ffoxver=4.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="runtime environment for xul-based applications"
url="http://developer.mozilla.org/en/XULRunner"
arch="all"
@@ -56,7 +56,6 @@ source="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}
mozjs-c99math.patch
gecko-c99math.patch"
-_xulrunner_version="2.0"
_builddir="${srcdir}/mozilla-2.0"
prepare() {
local i
@@ -88,16 +87,16 @@ package() {
make -j1 DESTDIR="$pkgdir" -f client.mk install || return 1
msg "Setting up compatibility symlinks..."
- 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}/libmozalloc.so "${pkgdir}"/usr/lib/libmozalloc.so
+ ln -sf /usr/lib/xulrunner-${pkgver}/libxul.so "${pkgdir}"/usr/lib/libxul.so
+ ln -sf /usr/lib/xulrunner-${pkgver}/libxpcom.so "${pkgdir}"/usr/lib/libxpcom.so
+ ln -sf /usr/lib/xulrunner-${pkgver}/libmozalloc.so "${pkgdir}"/usr/lib/libmozalloc.so
}
dev() {
replaces="xulrunner"
mkdir -p "${subpkgdir}"/usr/lib
- mv "${pkgdir}"/usr/lib/xulrunner-devel-${_xulrunner_version} "${subpkgdir}"/usr/lib
+ mv "${pkgdir}"/usr/lib/xulrunner-devel-${pkgver} "${subpkgdir}"/usr/lib
mv "${pkgdir}"/usr/lib/pkgconfig "${subpkgdir}"/usr/lib
mv "${pkgdir}"/usr/include "${subpkgdir}"/usr/include
}