> The user provided the following additional text: I've attached a git format-patch to update icecat-noscript and iceweasel- noscript to 5.1.7
-jc
>From 80b9c3211b03bccce1c75ad804f26da75e8cddfa Mon Sep 17 00:00:00 2001 From: jc_gargma <jc_gar...@iserlohn-fortress.net> Date: Mon, 20 Nov 2017 20:11:49 -0800 Subject: [PATCH] Updated icecat/iceweasel-noscript to 5.1.7 --- libre/icecat-noscript/PKGBUILD | 34 +++++++++++++++------------------- libre/iceweasel-noscript/PKGBUILD | 38 +++++++++++++++++--------------------- 2 files changed, 32 insertions(+), 40 deletions(-) diff --git a/libre/icecat-noscript/PKGBUILD b/libre/icecat-noscript/PKGBUILD index 4f3f3707f2..6a9552f1f9 100644 --- a/libre/icecat-noscript/PKGBUILD +++ b/libre/icecat-noscript/PKGBUILD @@ -5,36 +5,32 @@ # Contributor (Arch): Eschwartz <eschwart...@gmail.com> pkgname=icecat-noscript - -pkgver=5.1.5 +pkgver=5.1.7 pkgrel=1 -arch=(any) - pkgdesc="Extension for icecat which disables script" +arch=('any') url="https://noscript.net/" -license=(GPL2) - -depends=(icecat) -makedepends=(unzip) +license=('GPL2') groups=(icecat-addons) - -source=(https://secure.informaction.com/download/releases/noscript-$pkgver.xpi) -noextract=("noscript-$pkgver.xpi") -sha256sums=('0620b8608441b5a346e347a07ce3c1e707edc8d4d04f2c72af53e73a0d9b6d5c') +depends=(icecat) +makedepends=('unzip') +source=(https://secure.informaction.com/download/releases/noscript-${pkgver}.xpi) +noextract=("noscript-${pkgver}.xpi") +sha256sums=('617f73683acdca7df2a7d08843443d38929afbf40075e113ab3ccab0eef7cd6b') prepare() { unzip -qqo "noscript-$pkgver.xpi" -d "noscript-$pkgver" } package() { - _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" + _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" + install -Dm644 noscript-${pkgver}.xpi "${_extension_dest}.xpi" fi } diff --git a/libre/iceweasel-noscript/PKGBUILD b/libre/iceweasel-noscript/PKGBUILD index 8e8a34b6a2..640944e559 100644 --- a/libre/iceweasel-noscript/PKGBUILD +++ b/libre/iceweasel-noscript/PKGBUILD @@ -5,37 +5,33 @@ # Contributor (Arch): Eschwartz <eschwart...@gmail.com> pkgname=iceweasel-noscript - -pkgver=5.1.5 +pkgver=5.1.7 pkgrel=1 -arch=(any) - pkgdesc="Extension for iceweasel which disables script" +arch=('any') url="https://noscript.net/" -license=(GPL2) - -depends=(iceweasel) -makedepends=(unzip) +license=('GPL2') +groups=('iceweasel-addons') +depends=('iceweasel') +makedepends=('unzip') replaces=(firefox-noscript) -groups=(iceweasel-addons) - -source=(https://secure.informaction.com/download/releases/noscript-$pkgver.xpi) -noextract=("noscript-$pkgver.xpi") -sha256sums=('0620b8608441b5a346e347a07ce3c1e707edc8d4d04f2c72af53e73a0d9b6d5c') +source=(https://secure.informaction.com/download/releases/noscript-${pkgver}.xpi) +noextract=("noscript-${pkgver}.xpi") +sha256sums=('617f73683acdca7df2a7d08843443d38929afbf40075e113ab3ccab0eef7cd6b') prepare() { - unzip -qqo "noscript-$pkgver.xpi" -d "noscript-$pkgver" + unzip -qqo "noscript-${pkgver}.xpi" -d "noscript-${pkgver}" } package() { - _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' noscript-$pkgver/install.rdf)" - _extension_dest="$pkgdir/usr/lib/iceweasel/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" + _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' noscript-${pkgver}/install.rdf)" + _extension_dest="${pkgdir}/usr/lib/iceweasel/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" + install -Dm644 noscript-${pkgver}.xpi "${_extension_dest}.xpi" fi } -- 2.15.0
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Dev mailing list Dev@lists.parabola.nu https://lists.parabola.nu/mailman/listinfo/dev