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

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 10 07:58:38 UTC 2021


    Date: Wednesday, November 10, 2021 @ 07:58:38
  Author: arojas
Revision: 1039541

archrelease: copy trunk to community-any

Added:
  firefox-extension-privacybadger/repos/community-any/PKGBUILD
    (from rev 1039540, firefox-extension-privacybadger/trunk/PKGBUILD)
Deleted:
  firefox-extension-privacybadger/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 07:58:28 UTC (rev 1039540)
+++ PKGBUILD	2021-11-10 07:58:38 UTC (rev 1039541)
@@ -1,47 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-
-_pkgname=privacybadger
-pkgname=firefox-extension-${_pkgname}
-pkgver=2021.6.8
-pkgrel=1
-pkgdesc="Block third party tracking in your browser"
-arch=('any')
-url="https://www.eff.org/privacybadger"
-license=('GPL3')
-groups=('firefox-addons')
-makedepends=("unzip")
-source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/privacy-badger-eff-${pkgver}.xpi"
-        "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/privacy-badger-eff-${pkgver}.xpi.sig")
-noextract=("${_pkgname}-${pkgver}.xpi")
-sha256sums=('86d1fbada6c04365602ae1bd26eaeecbafebeb3ae951cb99e1e1bbf40e6fcbc7'
-            'SKIP')
-b2sums=('3ceb9e0ae250741ff98399fcb8a82e65bb33b8422ee86cb2be9d18c34a11d3218b6e0e9d9d29d1886d2776aa9602fe3521ef5e9242bba8d17eac89ec84ea2e77'
-        'SKIP')
-validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei <alexei 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-privacybadger/repos/community-any/PKGBUILD (from rev 1039540, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-10 07:58:38 UTC (rev 1039541)
@@ -0,0 +1,47 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+
+_pkgname=privacybadger
+pkgname=firefox-extension-${_pkgname}
+pkgver=2021.8.17
+pkgrel=1
+pkgdesc="Block third party tracking in your browser"
+arch=('any')
+url="https://www.eff.org/privacybadger"
+license=('GPL3')
+groups=('firefox-addons')
+makedepends=("unzip")
+source=("${_pkgname}-${pkgver}.xpi::https://www.eff.org/files/privacy-badger-eff-${pkgver}.xpi"
+        "${_pkgname}-${pkgver}.xpi.sig::https://www.eff.org/files/privacy-badger-eff-${pkgver}.xpi.sig")
+noextract=("${_pkgname}-${pkgver}.xpi")
+sha256sums=('6803803845f9001dcfcbacf4439d64ec49a59a9d3777921e8a16f5ffa985bf9d'
+            'SKIP')
+b2sums=('3247e1b11353a9577a9e53850a44ce3d103730861a5e5807ec6450ce2837fec12b4869db7015dd7385ba44021039b8649a966d7dff3edc0297abc952d2c49c9a'
+        'SKIP')
+validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei <alexei 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