summaryrefslogtreecommitdiff
path: root/libre/iceweasel-noscript/PKGBUILD
blob: 7d64d64c43feba4503524ddb5d3776f25fa2f343 (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: Andreas Grapentin <andreas@grapentin.org>
# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer (Arch): Eli schwartz <eschwartz@archlinux.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>

pkgname=iceweasel-noscript
pkgver=11.0.26
pkgrel=1
_file=3570827
pkgdesc="Extension for iceweasel which disables javascript"
arch=(any)
url="https://noscript.net/"
license=(GPL2)
groups=(iceweasel-addons)
depends=('iceweasel')
makedepends=(unzip)
replaces=(firefox-noscript)
source=("noscript-${pkgver}.xpi::https://addons.mozilla.org/firefox/downloads/file/${_file}/")
noextract=("noscript-$pkgver.xpi")
sha256sums=('99a70a78733fe7e21852f67bde090f6a57b5bdbd34ecbbdfcf481dc861965fd8')
b2sums=('c15ecf1fb41bd2d737fc4d5b7dcc8813041275108436df35fc11270ebed6405fc0cd133e2ff40eb68c6bc44a8840415d80f612966037b844cd5513827a4b7efb')

package() {
  _extension_id="{73a6fe31-595d-460b-a920-fcc0f8843232}"
  _extension_dest="${pkgdir}/usr/lib/iceweasel/browser/extensions/${_extension_id}"
  install -Dm644 noscript-${pkgver}.xpi "${_extension_dest}.xpi"
}