Advertisement
izilly

firefox-esr-bin-45.0-1_PKGBUILD

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