summaryrefslogtreecommitdiff
path: root/nonprism-testing/icedove-hardened-preferences/PKGBUILD
blob: ddfa6ec2aa99ee44516f403bfee81a0111a0d0a5 (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
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Luke R. <g4jc@openmailbox.org>

pkgname=icedove-hardened-preferences
pkgver=0.1
pkgrel=2
pkgdesc="Sets hardened preferences in Icedove that protect from a variety of privacy, security, and fingerprinting attacks."
arch=(any)
license=(MPL)
replaces=('icedove-hardened')
conflicts=('icedove-hardened')
depends=('icedove-enigmail' 'firejail')
url="https://wiki.parabola.nu/${pkgname%%-*}"
source=('icedove-branding.js'
'icedove-hardened.sh'
'thunderbird-branding.js')
sha512sums=('ad339dc16a7acab325f1a162cda017842c980fcb8ad1b725905947d0afc46959b59160147fd8fa86e2822dc51be4a4e6bf11d404ae19190b89a86459a290fd5e'
'c18ee4f453bf7b64a2a183a75db8e680a661c13acddc6fa1eed2f2346caaa288d3ee45409350bdba2ad161713c133f4ebc8b43a6cc2726460035a0762199093e'
'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e')
whirlpoolsums=('673d8a38650a9f91de8531612d457ba056ce15bf88f147a3dacd6182bd0d4e2697f59f7e13d688b26c944c9799071dabb06a4b1ed9e4ccba264a3ee6c2ef4f6f'
'a53ca8724636bfd74fbe07d9413d2f41423d25a2ef3acffcf5a00a7f107cbc0462ffd60a71d88f5ff26fae34b37e2f552856be0923d3d6598ecac50794af7d61'
'19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3')

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