summaryrefslogtreecommitdiff
path: root/nonprism/iceweasel-hardened-preferences/PKGBUILD
blob: 04d88999e8ea6c7c945f2f62b238c3c54df8765c (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
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
# Contributor: André Silva <emulatorman@parabola.nu>

pkgname=iceweasel-hardened-preferences
pkgver=0.1
pkgrel=7
pkgdesc="Non-Persistent 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' 'iceweasel-noscript')
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'
'd8e890930197cae0eeef9489055a922753fdf0b0f267753cb161920d987e9f7c72ea46cc875249972e65b229aee84c4e407eb6c7b57165257d6590b0e09bbe5e'
'733553fc5fc05ea8b7183b33b046afe30c2004f7a73dd289c8107dba5e2a997827267a9b5f26979e85e7b4eae4e12ce89c205fd81ba5bfd50df08f4dd716208f'
'26e48145cfeaf8f243c6f4f30ccc806aea3fb825370e43b34dab33e1404a88849c888bf25a0b2038b3535b2d45569af24652894bb7a845b9bbc90fa23787cd2e')
whirlpoolsums=('19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3'
'468d57cb9d178233a22f969637a68d68fa9df04e477a5b282f6c29eb74350c98508db103ad808c1ce89805a6b466758da711ebb59bf4eb291158009f731734a9'
'88be3317fc78e4bbaf79f080c7270d78a90f152f96fa067f2215915285ba8573ee46071856c2578bd3e02a678e783313131f3c2dcf6a02f2f862edd9de0a7820'
'1b1e6202ce3fbf05e0513af03e94f2ad5a70b774404dd72260363fdc1f810047cbfb9889ad6f800f5bbe87b050c2556ea30567baf7b07e67f1afc05fc665fb5e')

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
}