makedeb


webext-noscript-security-suite-firefox 11.5.2-0


Selectively disable javascript on Firefox.

Click here to go back to the commit logs for webext-noscript-security-suite-firefox.

Commit:


Hash: c7745d7ecfe0a46394effb983f7e0c16abcac88b

Message: real 11.4.26 and fix variables formating

Diff


diff --git a/.SRCINFO b/.SRCINFO
index ab341e0..cb3333f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = webext-noscript-security-suite-firefox
 pkgbase = webext-noscript-security-suite-firefox
 pkgdesc = Selectively disable javascript on Firefox.
-pkgrel = 0
+pkgrel = 1
 pkgver = 11.4.26
 url = https://addons.mozilla.org/en-US/firefox/addon/noscript/
 arch = all
@@ -11,7 +11,7 @@ makedepends = unzip
 noextract = noscript-11.4.26.xpi
 optdepends = firefox
 options = !strip
-source = https://addons.mozilla.org/firefox/downloads/file/4136347/noscript-11.4.26.xpi
-b2sums = 1c1b87828cf224a476e55f3ea8c1156ddd363d19b1287dfcd05b75acb7563ac5a67a440887a4a4fa2129bb0b0c37241ba2951b024b1a75c27bac64dbc87c123a
+source = https://addons.mozilla.org/firefox/downloads/file/4141345/noscript-11.4.26.xpi
+b2sums = cfc57113579e8c86126966747710c3f46a82215367e259f73f2e9529e3a002ab157dc8f6faed614b34b7db9f483fdf52d87ca6e3fc0b1404bf1bdc1c89d94ca5
 makedepends = unzip
 optdepends = firefox
diff --git a/PKGBUILD b/PKGBUILD
index 6620669..75efd67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,26 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
 pkgname=webext-noscript-security-suite-firefox
 pkgver=11.4.26
-pkgrel=0
+pkgrel=1
 pkgdesc='Selectively disable javascript on Firefox.'
 arch=('all')
 url='https://addons.mozilla.org/en-US/firefox/addon/noscript/'
 license=('GPL2')
 makedepends=("unzip")
 optdepends=('firefox')
-source=("https://addons.mozilla.org/firefox/downloads/file/4136347/noscript-${pkgver}.xpi")
+_fileid=('4141345')
+source=("https://addons.mozilla.org/firefox/downloads/file/$_fileid/noscript-${pkgver}.xpi")
 noextract=("noscript-${pkgver}.xpi")
 options=('!strip')
-b2sums=('1c1b87828cf224a476e55f3ea8c1156ddd363d19b1287dfcd05b75acb7563ac5a67a440887a4a4fa2129bb0b0c37241ba2951b024b1a75c27bac64dbc87c123a')
+b2sums=('cfc57113579e8c86126966747710c3f46a82215367e259f73f2e9529e3a002ab157dc8f6faed614b34b7db9f483fdf52d87ca6e3fc0b1404bf1bdc1c89d94ca5')
 
 package() {
-  mozilla_id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
-  download_name="noscript"
-  ext_id="{73a6fe31-595d-460b-a920-fcc0f8843232}"
-  license_path="/usr/share/common-licenses/GPL-2"
-  install -dm755 "${pkgdir}/usr/share/mozilla/extensions/$mozilla_id"
-  unzip "$download_name-${pkgver}.xpi" -d "${pkgdir}/usr/share/mozilla/extensions/$mozilla_id/$ext_id"
+  _mozilla_id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
+  _download_name="noscript"
+  _ext_id="{73a6fe31-595d-460b-a920-fcc0f8843232}"
+  _license_path="/usr/share/common-licenses/GPL-2"
+  install -dm755 "${pkgdir}/usr/share/mozilla/extensions/$_mozilla_id"
+  unzip "$_download_name-${pkgver}.xpi" -d "${pkgdir}/usr/share/mozilla/extensions/$_mozilla_id/$_ext_id"
   install -dm755 "${pkgdir}/usr/share/doc/$pkgname"
-  ln -s "$license_path" "${pkgdir}/usr/share/doc/$pkgname/"
+  ln -s "$_license_path" "${pkgdir}/usr/share/doc/$pkgname/"
 }