aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 09:50:24 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 09:50:24 -0500
commiteb491375e8d0420b9ae66b661026319fd5ca4aa3 (patch)
tree470bd2f02167a81140204281c9f14fdfc4f027e9 /main
parentadb033dbf9054747c836f132fdab2f19be127b63 (diff)
downloadaports-eb491375e8d0420b9ae66b661026319fd5ca4aa3.tar.bz2
aports-eb491375e8d0420b9ae66b661026319fd5ca4aa3.tar.xz
main/xulrunner: cleanups
Diffstat (limited to 'main')
-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
}