summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/xulrunner
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-01 02:44:35 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-01 02:44:35 (GMT)
commit3e58a7dccc57b74574e11647c63fe7e9f4da8278 (patch)
tree1068d799840b018c4fb88c70372e57a6623cf7d5 /abs/extra-testing/xulrunner
parente701828d0ad4e5b2476f6e88163f17eb182fcf96 (diff)
parent9aaaefcda2a88107de1c305f0b93efb1e07049d6 (diff)
downloadlinhes_pkgbuild-3e58a7dccc57b74574e11647c63fe7e9f4da8278.zip
linhes_pkgbuild-3e58a7dccc57b74574e11647c63fe7e9f4da8278.tar.gz
linhes_pkgbuild-3e58a7dccc57b74574e11647c63fe7e9f4da8278.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/xulrunner')
-rw-r--r--abs/extra-testing/xulrunner/PKGBUILD3
-rw-r--r--abs/extra-testing/xulrunner/xulrunner.install11
2 files changed, 13 insertions, 1 deletions
diff --git a/abs/extra-testing/xulrunner/PKGBUILD b/abs/extra-testing/xulrunner/PKGBUILD
index 84d6734..da6d8cd 100644
--- a/abs/extra-testing/xulrunner/PKGBUILD
+++ b/abs/extra-testing/xulrunner/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=xulrunner
pkgver=1.9.1.1
_ffoxver=3.5.1
-pkgrel=2
+pkgrel=5
pkgdesc="Mozilla Runtime Environment"
arch=(i686 x86_64)
license=('MPL' 'GPL' 'LGPL')
@@ -18,6 +18,7 @@ source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}
mozconfig)
md5sums=('18169e189785d680827d4fce94524449'
'6509d12e6b17bfc51c09e1dc35259035')
+install=xulrunner.install
build() {
cd ${startdir}/src/mozilla-1.9.1
diff --git a/abs/extra-testing/xulrunner/xulrunner.install b/abs/extra-testing/xulrunner/xulrunner.install
new file mode 100644
index 0000000..0b4cf9c
--- /dev/null
+++ b/abs/extra-testing/xulrunner/xulrunner.install
@@ -0,0 +1,11 @@
+post_install() {
+ # Ensure that the ld.so.conf file contains the xulrunner libs.
+ cp -f /etc/ld.so.conf /tmp/ld.so.conf
+ grep -v xulrunner /tmp/ld.so.conf > /etc/ld.so.conf
+ echo /usr/lib/xulrunner-1.9.1.1 >> /etc/ld.so.conf
+ /sbin/ldconfig
+}
+
+post_upgrade() {
+ post_install $*
+}