Advertisement
izilly

firefox-esr-bin-38.1.0-1.PKGBUILD

Jul 27th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.03 KB | None | 0 0
  1. # Maintainer: T. Jameson Little <t.jameson.little at gmail dot com>
  2. # Previous Maintainer: Stephen Michael <ihateseptictanks at gmail dot com>
  3. # Previous Maintainer: Simon Tunnat <simon+aur@tunn.at>
  4. # Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
  5.  
  6. pkgname=firefox-esr-bin
  7. _pkgname=${pkgname/-bin/}
  8. pkgver=38.1.0
  9. pkgrel=1
  10. pkgdesc='Standalone web browser from mozilla.org - Extended Support Release'
  11. url='http://www.mozilla.org/en-US/firefox/organizations/'
  12. arch=('i686' 'x86_64')
  13. depends=('gtk2' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' 'gconf')
  14. optdepends=('libgnome: fixes file association/default browser issues on GNOME desktops.'
  15.             'gstreamer0.10: HTML5 video'
  16.             'gstreamer0.10-good-plugins: h.264 video'
  17.             )
  18. provides=('firefox=38')
  19.  
  20. license=('MPL' 'GPL' 'LGPL')
  21. install=$_pkgname.install
  22. source=(http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}esr/linux-$CARCH/en-US/firefox-${pkgver}esr.tar.bz2
  23.         $_pkgname.desktop
  24.         $_pkgname-safe.desktop)
  25. sha512sums=('7d0881a1d5c5d96ac14cce535258127ce4a02591d6cb8020b825889a0b988cfcd55fbe5716ee681e7e4598f1f30f2e80339b91fedb92da90319c0b9a7af817cd'
  26.             '2c2c70cb48202d47e7d3b376b8181e7398b23bb83f5da7724f6290709fe1ff3dca9d9c5666310982569beeeba39ec2d55a4372819f9914c79c6583de7eec06ba'
  27.             '8942b11a7cb3761de1185491397185743adf49daa27a2806d14a328a2be8e2cb566c71dc6449016549cb3bd0d328cfe15944490be749a4add213194f6153c3d0')
  28. [ "$CARCH" == "i686" ] && sha512sums[0]='5c18f8dfbcb22d6f3a53e30fe6cd066f836057722aa274b8bb925770d6bc82f4e121d236da3de5c465a9f40f057ad350f5ea4ff46633e1934b9e090eee852596'
  29.  
  30.  
  31. package() {
  32.     cd $srcdir
  33.    
  34.     install -d $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
  35.     cp -r firefox/ $pkgdir/opt/$_pkgname
  36.  
  37.     ln -s /opt/$_pkgname/firefox $pkgdir/usr/bin/$_pkgname
  38.     install -m644 $srcdir/{$_pkgname.desktop,$_pkgname-safe.desktop} $pkgdir/usr/share/applications/
  39.     install -m644 $srcdir/firefox/browser/icons/mozicon128.png $pkgdir/usr/share/pixmaps/$_pkgname.png
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement