Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: T. Jameson Little <t.jameson.little at gmail dot com>
- # Previous Maintainer: Stephen Michael <ihateseptictanks at gmail dot com>
- # Previous Maintainer: Simon Tunnat <simon+aur@tunn.at>
- # Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
- pkgname=firefox-esr-bin
- _pkgname=${pkgname/-bin/}
- pkgver=38.1.0
- pkgrel=1
- pkgdesc='Standalone web browser from mozilla.org - Extended Support Release'
- url='http://www.mozilla.org/en-US/firefox/organizations/'
- arch=('i686' 'x86_64')
- depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' 'gconf')
- optdepends=('libgnome: fixes file association/default browser issues on GNOME desktops.'
- 'gstreamer0.10: HTML5 video'
- 'gstreamer0.10-good-plugins: h.264 video'
- )
- provides=('firefox=38')
- license=('MPL' 'GPL' 'LGPL')
- install=$_pkgname.install
- source=(http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}esr/linux-$CARCH/en-US/firefox-${pkgver}esr.tar.bz2
- $_pkgname.desktop
- $_pkgname-safe.desktop)
- sha512sums=('7d0881a1d5c5d96ac14cce535258127ce4a02591d6cb8020b825889a0b988cfcd55fbe5716ee681e7e4598f1f30f2e80339b91fedb92da90319c0b9a7af817cd'
- '2c2c70cb48202d47e7d3b376b8181e7398b23bb83f5da7724f6290709fe1ff3dca9d9c5666310982569beeeba39ec2d55a4372819f9914c79c6583de7eec06ba'
- '8942b11a7cb3761de1185491397185743adf49daa27a2806d14a328a2be8e2cb566c71dc6449016549cb3bd0d328cfe15944490be749a4add213194f6153c3d0')
- [ "$CARCH" == "i686" ] && sha512sums[0]='5c18f8dfbcb22d6f3a53e30fe6cd066f836057722aa274b8bb925770d6bc82f4e121d236da3de5c465a9f40f057ad350f5ea4ff46633e1934b9e090eee852596'
- package() {
- cd $srcdir
- install -d $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
- cp -r firefox/ $pkgdir/opt/$_pkgname
- ln -s /opt/$_pkgname/firefox $pkgdir/usr/bin/$_pkgname
- install -m644 $srcdir/{$_pkgname.desktop,$_pkgname-safe.desktop} $pkgdir/usr/share/applications/
- install -m644 $srcdir/firefox/browser/icons/mozicon128.png $pkgdir/usr/share/pixmaps/$_pkgname.png
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement