summaryrefslogtreecommitdiff
path: root/nonprism/iceweasel-hardened-preferences/PKGBUILD
blob: ee900cb696ffb85df09f2cb513a4058b142e1d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor: André Silva <emulatorman@hyperbola.info>

pkgname=iceweasel-hardened-preferences
pkgver=0.9
pkgrel=1
pkgdesc="Hardened preferences script which runs Iceweasel to protect from a variety of privacy, security, and fingerprinting attacks."
arch=(any)
license=(MPL)
replaces=('iceweasel-hardened')
conflicts=('iceweasel-hardened')
depends=('firejail')
optdepends=('iceweasel-noscript: XSS and Javascript Protection (Important)'
'iceweasel-no-resource-uri-leak: Deny resource:// access to Web content (Important)'
'iceweasel-ublock-origin: Block ads and trackers')
url="https://wiki.parabola.nu/${pkgname%%-*}"
install=iceweasel-hardened.install
source=('firefox-branding.js'
'iceweasel-hardened.sh'
'iceweasel-branding.js'
'iceweasel-hardened.install')
sha512sums=('cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
            '44d00e7ad136f0b6e00f428c392a9ce36ed7c8c1b1c6a2fe7dacb8da3aa4c61660ceadeb5db8d0b22c5d878607b4e57d8feca633fd8f25c0526992ec13fe0d25'
            '0e94131a7d8f536131a492965612e24bd414673a7d029cfa5e973b881f5321649e31b07635c31168edd151ac4192b1e29751f43f1e24beaf867603e12a6ebef4'
            'e9baa13d50195ff5be507093c45c00bb06a77c9e633ac183ec2fd74eebb11bfc07bde334fe4455b763e8700cde146ae223578ebd8d13066739220502b6eebff6')
whirlpoolsums=('19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3'
               'd0d3ad1c7eb6c6b231bb443b9957a89cda602375f72df2a48a1fbe52d21e4a046f356b02d5ee6c991e15409afdc99eee6ff6992628a5231bf6e73fdac5b2eebc'
               '2bf292142f87bb6e31bebadd79294362f04b7aa53b151393df5c9ae2e87b6f78e17042df1e87a1143a22b39739a60425dc60751260d84c9e764c22774a64ab6e'
               '44b57bbbf8f00ffee11afc84f5ea3daedc39e59da3ee91e337c1eaad24c014caf5680eb250e25a3e046db9caaf6829c3b667693de9f040d8864be34b96300bb9')

package() {
  install -Dm644 iceweasel-branding.js "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/iceweasel-branding.js
    install -Dm766 firefox-branding.js "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js
    install -Dm755 iceweasel-hardened.sh "$pkgdir"/usr/bin/iceweasel-hardened
}