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

Eli Schwartz eschwartz at archlinux.org
Fri Jun 22 04:12:25 UTC 2018


    Date: Friday, June 22, 2018 @ 04:12:25
  Author: eschwartz
Revision: 344353

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-22 04:12:08 UTC (rev 344352)
+++ PKGBUILD	2018-06-22 04:12:25 UTC (rev 344353)
@@ -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.6.13
-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')
-depends=("firefox")
-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=('c78126aae07ceb2a6cf2b53d136e755fedc1eac80943a876575d15981d0e0634'
-            'SKIP')
-validpgpkeys=('1073E74EB38BD6D19476CBF8EA9DBF9FB761A677') # William Budington <bill at eff.org>
-
-prepare() {
-  cd "$srcdir"
-
-  unzip -qqo "${_pkgname}-${pkgver}.xpi" -d "${_pkgname}-${pkgver}"
-}
-
-package() {
-  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 344352, firefox-extension-https-everywhere/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-22 04:12:25 UTC (rev 344353)
@@ -0,0 +1,46 @@
+# $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.6.21
+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=('178d06a8a091a3ac840c95d410ab7fe86d4e651d6e3489eff977782d9f5eab93'
+            '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