[arch-commits] Commit in xulrunner/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Wed Apr 10 13:00:43 UTC 2013
Date: Wednesday, April 10, 2013 @ 15:00:43
Author: foutrelis
Revision: 182412
upgpkg: xulrunner 20.0-1
New upstream release.
Modified:
xulrunner/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-10 11:05:19 UTC (rev 182411)
+++ PKGBUILD 2013-04-10 13:00:43 UTC (rev 182412)
@@ -2,7 +2,7 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
# Contributor: Alexander Baldeck <alexander at archlinux.org>
pkgname=xulrunner
-pkgver=19.0.2
+pkgver=20.0
pkgrel=1
pkgdesc="Mozilla Runtime Environment"
arch=('i686' 'x86_64')
@@ -16,12 +16,12 @@
shared-libs.patch)
options=('!emptydirs')
replaces=('xulrunner-oss')
-md5sums=('956f60b12577bf7a42d60ba8e1a73794'
+md5sums=('1b8a1907919eb805f390a05216f2d8d0'
'f26710bcf3e65699a0646c47155cb147'
'27271ce647a83906ef7a24605e840d61'
'52e52f840a49eb1d14be1c0065b03a93')
-build() {
+prepare() {
cd "$srcdir/mozilla-release"
cp "$srcdir/mozconfig" .mozconfig
@@ -33,8 +33,16 @@
# Workaround taken from chromium PKGBUILD
mkdir "$srcdir/python2-path"
ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+
+ # configure script misdetects the preprocessor without an optimization level
+ # https://bugs.archlinux.org/task/34644
+ sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+}
+
+build() {
+ cd "$srcdir/mozilla-release"
+
export PATH="$srcdir/python2-path:$PATH"
-
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/xulrunner-$pkgver"
export PYTHON="/usr/bin/python2"
More information about the arch-commits
mailing list