summaryrefslogtreecommitdiff
path: root/extra/xulrunner/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-25 13:37:35 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-12-25 13:37:35 -0600
commitd4891d626bd0699dafdcfa776ad0ee48df04f2d4 (patch)
tree215f7e117f4e146389e96b8b976591b101845667 /extra/xulrunner/PKGBUILD
parent14f1f7de0e32b27172968722644d5dbced226f52 (diff)
parentc46511670fc7e857a314c0e9e974be610065ab98 (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
Conflicts: libre/linux-libre/PKGBUILD libre/linux-libre/linux-libre.install libre/metalog/PKGBUILD
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r--extra/xulrunner/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD
index 53196d886..3bb44bf29 100644
--- a/extra/xulrunner/PKGBUILD
+++ b/extra/xulrunner/PKGBUILD
@@ -1,25 +1,24 @@
-# $Id: PKGBUILD 142354 2011-11-08 18:38:40Z ibiru $
+# $Id: PKGBUILD 145292 2011-12-21 10:20:13Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xulrunner
-pkgver=8.0
-_ffoxver=8.0
-pkgrel=2
+pkgver=9.0
+pkgrel=1
pkgdesc="Mozilla Runtime Environment"
arch=('i686' 'x86_64' 'mips64el')
license=('MPL' 'GPL' 'LGPL')
-depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify' 'libvpx')
-makedepends=('zip' 'unzip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa')
+depends=('gtk2' 'mozilla-common' 'nss>=3.13.1' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify' 'libvpx' 'python2')
+makedepends=('zip' 'unzip' 'pkg-config' 'diffutils' 'wireless_tools' 'yasm' 'mesa')
url="http://wiki.mozilla.org/XUL:Xul_Runner"
-source=(http://ftp.gnu.org/gnu/gnuzilla/${_ffoxver}/icecat-${_ffoxver}.tar.xz
+source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//$pkgver/source/firefox-$pkgver.source.tar.bz2
mozconfig
mips.patch
mozilla-pkgconfig.patch)
options=('!emptydirs')
replaces=('xulrunner-oss')
-md5sums=('9395a5be13da119bd8d53c3225e5d17c'
+md5sums=('d8d0c8c79660752b02d9e9ab69a68f94'
'8dfb78c5bd0581c8cf4753813132bf0b'
- '639ea80e823543dd415b90c0ee804186')
+ '27271ce647a83906ef7a24605e840d61')
build() {
cd "$srcdir/mozilla-release"
@@ -33,7 +32,8 @@ build() {
#fix libdir/sdkdir - fedora
patch -Np1 -i "$srcdir/mozilla-pkgconfig.patch"
- export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/xulrunner"
+ export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/xulrunner-$pkgver"
+ export PYTHON="/usr/bin/python2"
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
}
@@ -42,10 +42,17 @@ package() {
cd "$srcdir/mozilla-release"
make -j1 -f client.mk DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/usr/lib/xulrunner-$pkgver/{dictionaries,hyphenation}
+ ln -sf /usr/share/hunspell "$pkgdir/usr/lib/xulrunner-$pkgver/dictionaries"
+ ln -sf /usr/share/hyphen "$pkgdir/usr/lib/xulrunner-$pkgver/hyphenation"
+
# add xulrunner library path to ld.so.conf
install -d $pkgdir/etc/ld.so.conf.d
echo "/usr/lib/xulrunner-$pkgver" > $pkgdir/etc/ld.so.conf.d/xulrunner.conf
chmod +x "${pkgdir}/usr/lib/xulrunner-devel-$pkgver/sdk/bin/xpt.py"
sed -i 's|!/usr/bin/env python|!/usr/bin/env python2|' "$pkgdir/usr/lib/xulrunner-devel-$pkgver/sdk/bin/xpt.py"
+ sed -i 's|!/usr/bin/env python|!/usr/bin/env python2|' "$pkgdir/usr/lib/xulrunner-devel-$pkgver/sdk/bin/header.py"
+ sed -i 's|!/usr/bin/env python|!/usr/bin/env python2|' "$pkgdir/usr/lib/xulrunner-devel-$pkgver/sdk/bin/typelib.py"
+ sed -i 's|!/usr/bin/env python|!/usr/bin/env python2|' "$pkgdir/usr/lib/xulrunner-devel-$pkgver/sdk/bin/xpidl.py"
}