PKGBUILD 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. # Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
  2. # Contributor: André Silva <emulatorman@hyperbola.info>
  3. pkgname=iceweasel-hardened-preferences
  4. pkgver=1.0
  5. pkgrel=3
  6. pkgdesc="Hardened preferences script which runs Iceweasel to protect from a variety of privacy, security, and fingerprinting attacks."
  7. arch=(any)
  8. license=(MPL)
  9. replaces=('iceweasel-hardened')
  10. conflicts=('iceweasel-hardened')
  11. depends=('firejail')
  12. optdepends=('iceweasel-noscript: XSS and Javascript Protection (Important)'
  13. 'iceweasel-no-resource-uri-leak: Deny resource:// access to Web content (Important)'
  14. 'iceweasel-ublock-origin: Block ads and trackers')
  15. url="https://wiki.parabola.nu/${pkgname%%-*}"
  16. install=iceweasel-hardened.install
  17. source=('firefox-branding.js'
  18. 'iceweasel-hardened.sh'
  19. 'iceweasel-hardened.prefs'
  20. 'iceweasel-hardened.install')
  21. sha512sums=('cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
  22. '511f8de16b5f34ee979144468c87ecbbc3394e01f460d522335b0d1e232d6576fa164a7300c392b9e4722f78de5ca0527f42841674e5370309715aa14c3a2bf3'
  23. 'f0062cf0b353cff37817154e256279e1cd1de90b9515385571964540ae3a1c1c309418fddfab1742b5b02819af1b96ab8b0c44c27cf5ef346d5495fa3af46ec8'
  24. 'e9baa13d50195ff5be507093c45c00bb06a77c9e633ac183ec2fd74eebb11bfc07bde334fe4455b763e8700cde146ae223578ebd8d13066739220502b6eebff6')
  25. package() {
  26. install -Dm644 iceweasel-hardened.prefs "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/iceweasel-hardened.prefs
  27. install -Dm766 firefox-branding.js "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js
  28. install -Dm755 iceweasel-hardened.sh "$pkgdir"/usr/bin/iceweasel-hardened
  29. }