summaryrefslogtreecommitdiff
path: root/extra/xulrunner/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-09 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-11-09 23:14:53 +0000
commit7b0cdd65ac7bcd3c7597b528a10de58e4e0a430f (patch)
tree94f5e5e8ba53712358886d7a29554a7c5d624563 /extra/xulrunner/PKGBUILD
parentddba9670c1518d9b420db6a6dca01a4a4a4136c7 (diff)
Wed Nov 9 23:14:53 UTC 2011
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r--extra/xulrunner/PKGBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD
index da74448ea..b148f188f 100644
--- a/extra/xulrunner/PKGBUILD
+++ b/extra/xulrunner/PKGBUILD
@@ -1,46 +1,45 @@
-# $Id: PKGBUILD 138761 2011-09-27 20:42:01Z ibiru $
+# $Id: PKGBUILD 142354 2011-11-08 18:38:40Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xulrunner
-pkgver=7.0
-_ffoxver=7.0
-pkgrel=1
+pkgver=8.0
+_ffoxver=8.0
+pkgrel=2
pkgdesc="Mozilla Runtime Environment"
arch=('i686' 'x86_64')
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')
-makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa')
+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')
url="http://wiki.mozilla.org/XUL:Xul_Runner"
source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2
mozconfig
mozilla-pkgconfig.patch)
-options=('!emptydirs' '!buildflags')
+options=('!emptydirs')
replaces=('xulrunner-oss')
-md5sums=('673a015a23e3fefa18d80db68c8b9fc1'
- '108a53313284908cc3afe5e29a7557e9'
+md5sums=('9395a5be13da119bd8d53c3225e5d17c'
+ '8dfb78c5bd0581c8cf4753813132bf0b'
'639ea80e823543dd415b90c0ee804186')
build() {
- cd "${srcdir}/mozilla-release"
- cp "${srcdir}/mozconfig" .mozconfig
+ cd "$srcdir/mozilla-release"
+ cp "$srcdir/mozconfig" .mozconfig
#fix libdir/sdkdir - fedora
- patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch"
+ patch -Np1 -i "$srcdir/mozilla-pkgconfig.patch"
- export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-${pkgver} -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
+ export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/xulrunner"
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
}
package() {
- cd "${srcdir}/mozilla-release"
- make -j1 -f client.mk DESTDIR="${pkgdir}" install
+ cd "$srcdir/mozilla-release"
+ make -j1 -f client.mk DESTDIR="$pkgdir" install
# 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
+ install -d $pkgdir/etc/ld.so.conf.d
+ echo "/usr/lib/xulrunner-$pkgver" > $pkgdir/etc/ld.so.conf.d/xulrunner.conf
- #wtf mozilla!
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/xpt.py"
}