1 # $Id: PKGBUILD 90129 2010-09-08 10:38:46Z ibiru $
2 # Maintainer: Konstantin Shabanov <kes.eclipse@gmail.com>
3 # Contributor: Jakub Schmidtke <sjakub@gmail.com>
8 pkgdesc="Standalone web browser from mozilla.org"
10 license=('MPL' 'GPL' 'LGPL')
11 conflicts=('firefox' 'firefox-pgo')
13 depends=('desktop-file-utils' 'startup-notification>=0.8' 'dbus-glib>=0.82')
14 makedepends=('zip' 'pkg-config' 'diffutils' 'libgnomeui>=2.24.1' 'python2' 'wireless_tools' 'yasm' 'ccache' 'autoconf2.13' 'cairo-tee' 'nss>=3.12.9')
15 install=firefox.install
16 url="http://www.mozilla.com/en-US/firefox/beta/"
17 source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/source/firefox-${pkgver}.source.tar.bz2
22 md5sums=('9abda7d23151e97913c8555a64c13f34'
23 'd257f4b05ddf668d85a6bd8acbe8df80'
24 'ba96924ece1d77453e462429037a2ce5'
25 '6f38a5899034b7786cb1f75ad42032b8')
28 cd "${srcdir}/mozilla-2.0"
30 cp "${srcdir}/mozconfig" .mozconfig
32 export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-4.0"
33 make -f client.mk build
36 if [ "$CARCH" = "x86_64" ]; then
37 make DESTDIR="${pkgdir}" -C obj-x86_64-unknown-linux-gnu install
39 make DESTDIR="${pkgdir}" -C obj-i686-pc-linux-gnu install
42 install -m755 -d ${pkgdir}/usr/share/{applications,pixmaps}
43 install -m644 ${srcdir}/mozilla-2.0/browser/branding/unofficial/default48.png ${pkgdir}/usr/share/pixmaps/firefox.png
44 install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/
45 install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/