[arch-commits] Commit in firefox-extension-https-everywhere/repos/community-any (2 files)
Eli Schwartz
eschwartz at archlinux.org
Fri Mar 20 16:18:27 UTC 2020
Date: Friday, March 20, 2020 @ 16:18:27
Author: eschwartz
Revision: 601916
archrelease: copy trunk to community-any
Added:
firefox-extension-https-everywhere/repos/community-any/PKGBUILD
(from rev 601915, firefox-extension-https-everywhere/trunk/PKGBUILD)
Deleted:
firefox-extension-https-everywhere/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-20 16:18:10 UTC (rev 601915)
+++ PKGBUILD 2020-03-20 16:18:27 UTC (rev 601916)
@@ -1,48 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-
-_pkgname=https-everywhere
-pkgname=firefox-extension-${_pkgname}
-pkgver=2019.11.7
-pkgrel=1
-pkgdesc="Plugin for firefox which ensures you are using https whenever it's possible."
-arch=('any')
-url="https://www.eff.org/https-everywhere"
-license=('GPL2')
-groups=('firefox-addons')
-makedepends=("unzip")
-source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi"
- "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi.sig")
-noextract=("${_pkgname}-${pkgver}.xpi")
-sha256sums=('48cdaeb6569e36aa3fa2814c2a39350b33a7c84235f9354e90f22df333eba74e'
- 'SKIP')
-b2sums=('55ba001faf8c96ad7778459b57875aa4bd79aa9ca8fd226392338c1b3e75f4abdbdb5e34255f46fb84d1755b258b28c0cf9eada40cc83a777c5951789c9c1bca'
- 'SKIP')
-validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677' # William Budington <bill at eff.org>
- 'CE340E9D077F1DC0F4FA7B030D16CFA2BA1F7420') # Alexis <alexis at eff.org>
-
-prepare() {
- cd "$srcdir"
-
- unzip -qqo "${_pkgname}-${pkgver}.xpi" -d "${_pkgname}-${pkgver}"
-}
-
-package() {
- depends=("firefox")
- cd "${srcdir}"
-
- if [[ -f ${_pkgname}-${pkgver}/install.rdf ]]; then
- _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' ${_pkgname}-${pkgver}/install.rdf)"
- else
- _extension_id="$(sed -n 's/.*"id": "\(.*\)".*/\1/p' ${_pkgname}-${pkgver}/manifest.json)"
- fi
- _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
- # Should this extension be unpacked or not?
- if grep -q '<em:unpack>true</em:unpack>' ${_pkgname}-${pkgver}/install.rdf 2>/dev/null; then
- install -dm755 "${_extension_dest}"
- cp -R ${_pkgname}-${pkgver}/* "${_extension_dest}"
- chmod -R ugo+rX "${_extension_dest}"
- else
- install -Dm644 ${_pkgname}-${pkgver}.xpi "${_extension_dest}.xpi"
- fi
-}
Copied: firefox-extension-https-everywhere/repos/community-any/PKGBUILD (from rev 601915, firefox-extension-https-everywhere/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-20 16:18:27 UTC (rev 601916)
@@ -0,0 +1,48 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+
+_pkgname=https-everywhere
+pkgname=firefox-extension-${_pkgname}
+pkgver=2020.3.16
+pkgrel=1
+pkgdesc="Plugin for firefox which ensures you are using https whenever it's possible."
+arch=('any')
+url="https://www.eff.org/https-everywhere"
+license=('GPL2')
+groups=('firefox-addons')
+makedepends=("unzip")
+source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi"
+ "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/https-everywhere-${pkgver}-eff.xpi.sig")
+noextract=("${_pkgname}-${pkgver}.xpi")
+sha256sums=('bb3d8ee96c4c59a5d52d423b20fe3e7bc741aa5fdd15f2f9c0bcd9801da67de9'
+ 'SKIP')
+b2sums=('45bf28bcacaed4f122be6b8f7d2115a099ea367221667f01c1a2c2083ed3d07eac350f327e59684273f9b3209d916378e216844e00fa18534d9758862cd2e07c'
+ 'SKIP')
+validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677' # William Budington <bill at eff.org>
+ 'CE340E9D077F1DC0F4FA7B030D16CFA2BA1F7420') # Alexis <alexis at eff.org>
+
+prepare() {
+ cd "$srcdir"
+
+ unzip -qqo "${_pkgname}-${pkgver}.xpi" -d "${_pkgname}-${pkgver}"
+}
+
+package() {
+ depends=("firefox")
+ cd "${srcdir}"
+
+ if [[ -f ${_pkgname}-${pkgver}/install.rdf ]]; then
+ _extension_id="$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' ${_pkgname}-${pkgver}/install.rdf)"
+ else
+ _extension_id="$(sed -n 's/.*"id": "\(.*\)".*/\1/p' ${_pkgname}-${pkgver}/manifest.json)"
+ fi
+ _extension_dest="${pkgdir}/usr/lib/firefox/browser/extensions/${_extension_id}"
+ # Should this extension be unpacked or not?
+ if grep -q '<em:unpack>true</em:unpack>' ${_pkgname}-${pkgver}/install.rdf 2>/dev/null; then
+ install -dm755 "${_extension_dest}"
+ cp -R ${_pkgname}-${pkgver}/* "${_extension_dest}"
+ chmod -R ugo+rX "${_extension_dest}"
+ else
+ install -Dm644 ${_pkgname}-${pkgver}.xpi "${_extension_dest}.xpi"
+ fi
+}
More information about the arch-commits
mailing list