summaryrefslogtreecommitdiffstats
path: root/extra/xulrunner/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xulrunner/Pkgfile')
-rw-r--r--extra/xulrunner/Pkgfile14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/xulrunner/Pkgfile b/extra/xulrunner/Pkgfile
index c385838ad..b0c4f6b1b 100644
--- a/extra/xulrunner/Pkgfile
+++ b/extra/xulrunner/Pkgfile
@@ -5,24 +5,28 @@
# Depends on: libidl, nss, gtk, perl, python, dbus-glib, zip, alsa-lib
name=xulrunner
-version=1.9.1.3
+version=1.9.1.5
release=1
-source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.3/source/firefox-3.5.3.source.tar.bz2 \
- mozconfig $name.diff)
+source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.5/source/firefox-3.5.5.source.tar.bz2 \
+ mozconfig )
build() {
export MOZ_CO_PROJECT="xulrunner"
export XCFLAGS="$CFLAGS"
- cd mozilla-*
- patch -Np1 -i $SRC/$name.diff
+ cd mozilla-1.9.1
sed -e "s/#CFLAGS#/$CFLAGS/g" \
-e "s/#MAKEFLAGS#/$MAKEFLAGS/g" \
$SRC/mozconfig > .mozconfig
+
./configure
+ sed 's@stable@unstable@' \
+ -i xulrunner/installer/mozilla-js.pc.in
+ echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in
make -j3
make DESTDIR=$PKG install
install -d $PKG/etc/ld.so.conf.d
echo "/usr/lib/$name-$version" > $PKG/etc/ld.so.conf.d/$name.conf
chown -R root:root $PKG
+
}