Advertisement
Guest User

Untitled

a guest
Oct 4th, 2021
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. # Maintainer: Manuel Kauschinger <admin at bruzzzla dot de>
  2. # Previous Maintainer: Will Adams <info at clementlumber dot com>
  3. # Previous Maintainer: T. Jameson Little <t.jameson.little at gmail dot com>
  4. # Previous Maintainer: Stephen Michael <ihateseptictanks at gmail dot com>
  5. # Previous Maintainer: Simon Tunnat <simon+aur@tunn.at>
  6. # Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
  7.  
  8. pkgname=firefox-esr-bin
  9. _pkgname=${pkgname/-bin/}
  10. pkgver=91.2.0
  11. pkgrel=1
  12. pkgdesc='Standalone web browser from mozilla.org - Extended Support Release'
  13. url='http://www.mozilla.org/en-US/firefox/organizations/'
  14. arch=('i686' 'x86_64')
  15. depends=('gtk2' 'gtk3' 'libxt' 'dbus-glib' 'nss')
  16. makedepends=()
  17. provides=('firefox=91')
  18. license=('MPL' 'GPL' 'LGPL')
  19. install=$_pkgname.install
  20.  
  21. sha512sums=('c783790ca50deb213ac484c3df935deca55163ac839cd9e50cd0c28345527afd8ad7a4d856d648b3e82d6967fbd109838dd9382fe37807e171cad18967d5bd44'
  22. 'c585f6e8ac7abfc96ad4571940b6f0dcc3f7331a18a518b4fe5d19b45e4c2d96c394524ea5c115c8fdd256c9229ea2fabeb1fc04ca7102f1626fd20728aef47d'
  23. 'ab2fa2e08c7a65ac0bfe169a4b579e54b038bddabf838cd3df5ab341bd77be7c101092d0123598944d2174ab3a8fbc70dfbd692b2944016efdb7a69216a74428')
  24. [[ "$CARCH" == "i686" ]] && sha512sums[0]='e6d893e07cd455bf591931cdfa12dd1be9cbb9687d24fedad06ee5c1b3adc98dd455588a974914fb8d9d75f4733e84165b6f184023983491b5af29fde8cb4810'
  25.  
  26. source=(https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/linux-$CARCH/en-US/firefox-${pkgver}esr.tar.bz2
  27. $_pkgname.desktop
  28. $_pkgname-safe.desktop)
  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/chrome/icons/default/default128.png $pkgdir/usr/share/pixmaps/$_pkgname.png
  39. }
  40.  
  41.  
  42.  
  43.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement