makedeb


webext-localcdn-firefox 2.6.76-0


Emulates remote frameworks and delivers them as local resource, extension for Firefox.

Click here to go back to the commit logs for webext-localcdn-firefox.

Commit:


Hash: fe6858ae3bcacab96a947501fff80bf43a9533e4

Message: 2.6.54

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0e2c41b..110eb5d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,15 +3,15 @@ pkgname = webext-localcdn-firefox
 pkgbase = webext-localcdn-firefox
 pkgdesc = Emulates remote frameworks and delivers them as local resource, extension for Firefox.
 pkgrel = 0
-pkgver = 2.6.53
+pkgver = 2.6.54
 url = https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
 arch = all
 license = MPL2
 makedepends = unzip
-noextract = localcdn_fork_of_decentraleyes-2.6.53.xpi
+noextract = localcdn_fork_of_decentraleyes-2.6.54.xpi
 optdepends = firefox
 options = !strip
-source = https://addons.mozilla.org/firefox/downloads/file/4129532/localcdn_fork_of_decentraleyes-2.6.53.xpi
+source = https://addons.mozilla.org/firefox/downloads/file/4129532/localcdn_fork_of_decentraleyes-2.6.54.xpi
 b2sums = c601c484ea38766bbfd55c82ad044a54e512eb1af37dc2b267a21014426423c803b0ef7507daaf9096912e01270672df80cb51d6b8de03d1aad8e90dcc67d433
 makedepends = unzip
 optdepends = firefox
diff --git a/PKGBUILD b/PKGBUILD
index ef6f4f0..f13e4f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
 pkgname=webext-localcdn-firefox
-pkgver=2.6.53
+pkgver=2.6.54
 pkgrel=0
 pkgdesc='Emulates remote frameworks and delivers them as local resource, extension for Firefox.'
 arch=('all')
@@ -14,8 +14,12 @@ options=('!strip')
 b2sums=('c601c484ea38766bbfd55c82ad044a54e512eb1af37dc2b267a21014426423c803b0ef7507daaf9096912e01270672df80cb51d6b8de03d1aad8e90dcc67d433')
 
 package() {
-  install -dm755 "${pkgdir}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
-  unzip "localcdn_fork_of_decentraleyes-${pkgver}.xpi" -d "${pkgdir}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{b86e4813-687a-43e6-ab65-0bde4ab75758}"
-  install -dm755 "${pkgdir}/usr/share/doc/webext-localcdn-firefox"
-  ln -s /usr/share/common-licenses/MPL-2.0 "${pkgdir}/usr/share/doc/webext-localcdn-firefox/MPL-2.0"
+  mozilla_id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
+  download_name="localcdn_fork_of_decentraleyes"
+  ext_id="{b86e4813-687a-43e6-ab65-0bde4ab75758}"
+  license_path="/usr/share/common-licenses/MPL-2.0"
+  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/"
 }