[arch-commits] Commit in firefox-extension-https-everywhere/repos/community-any (2 files)

Eli Schwartz eschwartz at archlinux.org
Fri Sep 21 22:55:36 UTC 2018


    Date: Friday, September 21, 2018 @ 22:55:35
  Author: eschwartz
Revision: 383977

archrelease: copy trunk to community-any

Added:
  firefox-extension-https-everywhere/repos/community-any/PKGBUILD
    (from rev 383976, firefox-extension-https-everywhere/trunk/PKGBUILD)
Deleted:
  firefox-extension-https-everywhere/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-21 22:54:15 UTC (rev 383976)
+++ PKGBUILD	2018-09-21 22:55:35 UTC (rev 383977)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-
-_pkgname=https-everywhere
-pkgname=firefox-extension-${_pkgname}
-pkgver=2018.8.22
-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=('b37b8ddc871e539e97075b7ae9555c076003a51b389776bc2a4729e3f13690ce'
-            'SKIP')
-validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677') # William Budington <bill 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 383976, firefox-extension-https-everywhere/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-21 22:55:35 UTC (rev 383977)
@@ -0,0 +1,45 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+
+_pkgname=https-everywhere
+pkgname=firefox-extension-${_pkgname}
+pkgver=2018.9.19
+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=('1a1987182c6391af6d54d4724447fd066ff1953790b0e1c3749571847ad3a112'
+            'SKIP')
+validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677') # William Budington <bill 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