1 # Maintainer: Max Roder <maxroder@web.de>
3 pkgname='tor-browser-en'
5 _realpkgver='2.2.35-4-dev'
8 pkgdesc='Lets you use Tor with Firefox (+ Torbutton, NoScript, HTTPS-Everywhere) without the need to configure anything. English version.'
9 url='https://www.torproject.org/projects/torbrowser.html.en'
10 arch=('x86_64' 'i686')
12 depends=('java-environment' 'xulrunner')
13 install='tor-browser-en.install'
14 if [[ "$CARCH" == 'i686' ]]; then
15 source=("https://www.torproject.org/dist/torbrowser/linux/tor-browser-gnu-linux-${CARCH}-${_realpkgver}-${_language}.tar.gz")
16 sha256sums=('661a5f68be03f998d013cb9ed632dd246fd62a34b688a6abc353324bdf037f4f')
18 source=("https://www.torproject.org/dist/torbrowser/linux/tor-browser-gnu-linux-${CARCH}-${_realpkgver}-${_language}.tar.gz")
19 sha256sums=('5c8302e756d116a185cd3ba9fca7e2a3b3d964df49979e74fee3fcd1d3b94ce1')
21 source+=("${pkgname}.desktop"
24 sha256sums+=('61f7c6a656d7198192573bf84b6487bacdbe5d9bc97e84215e8009a005057545'
25 '17fc2f5784d080233aca16e788d62ab6fe3e57cf781b123cfe32767de97d6d3b'
26 '9a8e2ee31f83ae6145122bc40fdce81441b298dc10eb2605cbda37f80eee7978')
27 options=('!strip' 'emptydirs')
30 cd ${srcdir}/tor-browser_en-US
32 install -d ${pkgdir}/opt/${pkgname}/ ${pkgdir}/usr/bin/
34 # Any way to use install here?
35 cp -a * ${pkgdir}/opt/${pkgname}/
38 install -Dm644 ../${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
39 install -Dm644 ../${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
40 install -Dm755 ../${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
43 # vim:set ts=2 sw=2 et: