summaryrefslogtreecommitdiff
path: root/libre/icecat-noscript
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-24 06:31:07 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-24 06:31:49 -0300
commite8907fab6658afc6681f1a40e28f058fa87f4575 (patch)
tree5d31c6b2df1393df4320a2dd5bb8d80ea22eeb60 /libre/icecat-noscript
parent713bf090423e07809d39d2facdf61aefad1cebec (diff)
downloadabslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.tar.gz
abslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.tar.bz2
abslibre-e8907fab6658afc6681f1a40e28f058fa87f4575.zip
icecat: move package and its dependencies to [unmaintained] -> https://lists.parabola.nu/pipermail/dev/2016-October/004529.html
Diffstat (limited to 'libre/icecat-noscript')
-rw-r--r--libre/icecat-noscript/PKGBUILD37
1 files changed, 0 insertions, 37 deletions
diff --git a/libre/icecat-noscript/PKGBUILD b/libre/icecat-noscript/PKGBUILD
deleted file mode 100644
index 4d6363045..000000000
--- a/libre/icecat-noscript/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 186197 2016-08-09 13:37:12Z spupykin $
-# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor (Arch): Eschwartz <eschwartz93@gmail.com>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-
-pkgname=icecat-noscript
-pkgver=2.9.0.14
-pkgrel=1
-pkgdesc="Extension for icecat which disables script"
-arch=('any')
-url="http://noscript.net/"
-license=('GPL2')
-groups=('icecat-addons')
-depends=('icecat')
-makedepends=('unzip')
-source=(https://secure.informaction.com/download/releases/noscript-${pkgver}.xpi)
-noextract=("noscript-${pkgver}.xpi")
-md5sums=('e60590e188d0d2f69cbec5c6382f15fd')
-
-prepare() {
- cd "${srcdir}"
- unzip -qqo "noscript-${pkgver}.xpi" -d "noscript-${pkgver}"
-}
-
-package() {
- cd "${srcdir}"
-
- _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' noscript-${pkgver}/install.rdf)"
- _extension_dest="${pkgdir}/usr/lib/icecat/browser/extensions/${_extension_id}"
- if grep '<em:unpack>true</em:unpack>' noscript-${pkgver}/install.rdf > /dev/null; then
- install -dm755 "${_extension_dest}"
- cp -R noscript-${pkgver}/* "${_extension_dest}"
- chmod -R ugo+rX "${_extension_dest}"
- else
- install -Dm644 noscript-${pkgver}.xpi "${_extension_dest}.xpi"
- fi
-}