1 # Maintainer: c0nd0r <gcesarmza@gmail.com>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: webjdm <web.jdm@gmail.com>
8 pkgdesc="bin32-firefox for Arch x86_64 (en-US)"
10 license=('MPL' 'GPL' 'LGPL')
11 url="http://www.mozilla.org/projects/firefox"
12 depends=('lib32-dbus-glib' 'lib32-gtk2' 'lib32-libxt' 'lib32-alsa-lib' 'lib32-nss' 'lib32-xcb-util')
13 optdepends=('bin32-firefox-i18n: i18n support'
14 'lib32-flashplugin: flash support'
15 'bin32-acroread: adobe reader plugin'
16 'bin32-icedtea-web: java plugin'
17 'lib32-librsvg: svg_loader.so library'
18 'lib32-gtk-engines: libclearlooks.so library')
19 source=("http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-i686/en-US/firefox-${pkgver}.tar.bz2"
20 'firefox32.desktop' 'firefox32-safe.desktop' 'mozplugin.patch')
21 md5sums=('a6ac0d7478410455be816c41597d5a9f'
22 'f93c2d52600eaf905b2e9c8df318d9a6'
23 '803ab3405d3c30d0a947ffe1d7d224aa'
24 '8ef4b2a15b9d5e9d5bd5df323dbf012f')
29 mkdir -p {usr/bin,usr/lib32}
30 cp -r ${srcdir}/firefox usr/lib32/${pkgname}
31 mv usr/lib32/${pkgname}/firefox usr/lib32/${pkgname}/firefox32
32 mv usr/lib32/${pkgname}/firefox-bin usr/lib32//${pkgname}/firefox32-bin
33 cat <<EOF > usr/bin/${pkgname}
35 /opt/${pkgname}/run-mozilla.sh /usr/lib32/${pkgname}/firefox32 \$*
37 chmod +x usr/bin/${pkgname}
41 install -d ${pkgdir}/usr/share/applications
42 install -Dm644 firefox32.desktop firefox32-safe.desktop ${pkgdir}/usr/share/applications
43 install -Dm644 firefox/icons/mozicon128.png ${pkgdir}/usr/share/pixmaps/firefox32.png
45 # set MOZ_PLUGIN_PATH variable
46 cd ${pkgdir}/usr/lib32/${pkgname}
47 patch -Np0 -i ${srcdir}/mozplugin.patch