PKGBUILD 1.1 KB

1234567891011121314151617181920212223242526272829
  1. # Maintainer: Andreas Grapentin <andreas@grapentin.org>
  2. # Maintainer (arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
  3. # Maintainer (arch): Eli schwartz <eschwartz@archlinux.org>
  4. # Contributor: André Silva <emulatorman@hyperbola.info>
  5. # Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
  6. pkgname=iceweasel-noscript
  7. pkgver=11.0.26
  8. pkgrel=1
  9. _file=3570827
  10. pkgdesc="Extension for iceweasel which disables javascript"
  11. arch=(any)
  12. url="https://noscript.net/"
  13. license=(GPL2)
  14. groups=(iceweasel-addons)
  15. depends=('iceweasel')
  16. makedepends=(unzip)
  17. replaces=(firefox-noscript)
  18. source=("noscript-${pkgver}.xpi::https://addons.mozilla.org/firefox/downloads/file/${_file}/")
  19. noextract=("noscript-$pkgver.xpi")
  20. sha256sums=('99a70a78733fe7e21852f67bde090f6a57b5bdbd34ecbbdfcf481dc861965fd8')
  21. b2sums=('c15ecf1fb41bd2d737fc4d5b7dcc8813041275108436df35fc11270ebed6405fc0cd133e2ff40eb68c6bc44a8840415d80f612966037b844cd5513827a4b7efb')
  22. package() {
  23. _extension_id="{73a6fe31-595d-460b-a920-fcc0f8843232}"
  24. _extension_dest="${pkgdir}/usr/lib/iceweasel/browser/extensions/${_extension_id}"
  25. install -Dm644 noscript-${pkgver}.xpi "${_extension_dest}.xpi"
  26. }