summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/firefox/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 13:00:03 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-23 13:00:03 (GMT)
commitd605889115f15c2c628a12bd185bf3fd92b156ee (patch)
tree09587ba7f01dd38c7806c9afdab115b4016a567e /abs/extra-testing/community/firefox/PKGBUILD
parent4702175bc8bf5f1af5c16d6ddd02140d017b8e02 (diff)
downloadlinhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.zip
linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.gz
linhes_pkgbuild-d605889115f15c2c628a12bd185bf3fd92b156ee.tar.bz2
Initial community packages for various users.
Diffstat (limited to 'abs/extra-testing/community/firefox/PKGBUILD')
-rw-r--r--abs/extra-testing/community/firefox/PKGBUILD63
1 files changed, 63 insertions, 0 deletions
diff --git a/abs/extra-testing/community/firefox/PKGBUILD b/abs/extra-testing/community/firefox/PKGBUILD
new file mode 100644
index 0000000..92aec67
--- /dev/null
+++ b/abs/extra-testing/community/firefox/PKGBUILD
@@ -0,0 +1,63 @@
+# $Id: PKGBUILD 22049 2008-12-21 14:15:02Z jgc $
+# Contributor: Jakub Schmidtke <sjakub@gmail.com>
+
+pkgname=firefox
+pkgver=3.0.5
+pkgrel=1
+pkgdesc="Standalone web browser from mozilla.org"
+arch=(i686 x86_64)
+license=('MPL' 'GPL' 'LGPL')
+depends=('xulrunner=1.9.0.5' 'desktop-file-utils' 'shared-mime-info')
+makedepends=('zip' 'pkgconfig' 'diffutils' 'libgnomeui>=2.24.0' 'python' 'xorg-server')
+replaces=('firefox3')
+install=firefox.install
+url="http://www.mozilla.org/projects/firefox"
+source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}-source.tar.bz2
+ mozconfig
+ firefox.desktop
+ firefox-safe.desktop
+ mozilla-firefox-1.0-lang.patch
+ mozbug421977.patch
+ firefox-appversion.patch)
+md5sums=('19d09b2554976e207d37a164bcf43547'
+ '8b6e5f7d0a9e3f64747a024cf8f12069'
+ '68cf02788491c6e846729b2f2913bf79'
+ '5e68cabfcf3c021806b326f664ac505e'
+ 'bd5db57c23c72a02a489592644f18995'
+ '7976e3ff52e01af3388dfc3a479c4955'
+ 'c6f27fca2e6bd2a570b271ec3ce35782')
+
+build() {
+ cd ${srcdir}/mozilla
+
+ patch -Np1 -i ${srcdir}/mozilla-firefox-1.0-lang.patch || return 1
+
+ # FS#10836: fixes backgroundcolor parsing with gnome
+ patch -Np0 -i ${srcdir}/mozbug421977.patch || return 1
+
+ patch -Np1 -i ${srcdir}/firefox-appversion.patch || return 1
+
+ cp ${srcdir}/mozconfig .mozconfig
+
+ unset CFLAGS
+ unset CXXFLAGS
+
+ export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-3.0"
+
+ LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
+ XPID=$!
+ export DISPLAY=:99
+
+ LD_PRELOAD="" make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS="${MAKEFLAGS}" || return 1
+ kill $XPID
+
+ make -j1 DESTDIR=${pkgdir} -C ff-opt-obj install || return 1
+
+ rm -f ${pkgdir}/usr/lib/firefox-3.0/libjemalloc.so
+
+ install -m755 -d ${pkgdir}/usr/share/applications
+ install -m755 -d ${pkgdir}/usr/share/pixmaps
+ install -m644 ${srcdir}/mozilla/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png || return 1
+ install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/ || return 1
+ install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/ || return 1
+}