makedeb
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.
Hash: 6756059693039649abc027469b677aab144e4620
Message: 2.6.53 and unpackage the xpi
diff --git a/.SRCINFO b/.SRCINFO
index bd8fdf5..0e2c41b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +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.52
-url = https://addons.mozilla.org/en/firefox/addon/localcdn-fork-of-decentraleyes/
+pkgver = 2.6.53
+url = https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/
arch = all
license = MPL2
-noextract = localcdn_fork_of_decentraleyes-2.6.52.xpi
+makedepends = unzip
+noextract = localcdn_fork_of_decentraleyes-2.6.53.xpi
optdepends = firefox
-source = https://addons.mozilla.org/firefox/downloads/file/4129532/localcdn_fork_of_decentraleyes-2.6.52.xpi
+options = !strip
+source = https://addons.mozilla.org/firefox/downloads/file/4129532/localcdn_fork_of_decentraleyes-2.6.53.xpi
b2sums = c601c484ea38766bbfd55c82ad044a54e512eb1af37dc2b267a21014426423c803b0ef7507daaf9096912e01270672df80cb51d6b8de03d1aad8e90dcc67d433
+makedepends = unzip
optdepends = firefox
diff --git a/PKGBUILD b/PKGBUILD
index bbfcb17..ef6f4f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,21 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
pkgname=webext-localcdn-firefox
-pkgver=2.6.52
+pkgver=2.6.53
pkgrel=0
pkgdesc='Emulates remote frameworks and delivers them as local resource, extension for Firefox.'
arch=('all')
-url='https://addons.mozilla.org/en/firefox/addon/localcdn-fork-of-decentraleyes/'
+url='https://addons.mozilla.org/en-US/firefox/addon/localcdn-fork-of-decentraleyes/'
license=('MPL2')
+makedepends=("unzip")
optdepends=('firefox')
source=("https://addons.mozilla.org/firefox/downloads/file/4129532/localcdn_fork_of_decentraleyes-${pkgver}.xpi")
noextract=("localcdn_fork_of_decentraleyes-${pkgver}.xpi")
+options=('!strip')
b2sums=('c601c484ea38766bbfd55c82ad044a54e512eb1af37dc2b267a21014426423c803b0ef7507daaf9096912e01270672df80cb51d6b8de03d1aad8e90dcc67d433')
package() {
- install -Dm644 "localcdn_fork_of_decentraleyes-${pkgver}.xpi" "${pkgdir}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{b86e4813-687a-43e6-ab65-0bde4ab75758}.xpi"
+ 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"
}