Advertisement
izilly

firefox-esr-bin-45.0.1-1_PKGBUILD

Mar 19th, 2016
196
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.1
  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=('b5815eb362b9aeb9b7c0e42a79704e8ec967357332b37b3d33106a2b16e936aebf5ffd998467980a5be7b81f762ba34049dfc3fb8e21fc6e39fbb78a7ee59690'
  26.             '2c2c70cb48202d47e7d3b376b8181e7398b23bb83f5da7724f6290709fe1ff3dca9d9c5666310982569beeeba39ec2d55a4372819f9914c79c6583de7eec06ba'
  27.             '8942b11a7cb3761de1185491397185743adf49daa27a2806d14a328a2be8e2cb566c71dc6449016549cb3bd0d328cfe15944490be749a4add213194f6153c3d0')
  28. [[ "$CARCH" == "i686" ]] && sha512sums[0]='396f658685b3e6754a62e1fdedfe420995a4edfafdbfd9ae87264a623a07f71d4d0e60989fea48adfa5a136615859f09b23d1ba976ec3b6ca01abc79232b0f7c'
  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