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

Eli Schwartz eschwartz at archlinux.org
Fri May 11 20:02:39 UTC 2018


    Date: Friday, May 11, 2018 @ 20:02:38
  Author: eschwartz
Revision: 320898

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 20:02:18 UTC (rev 320897)
+++ PKGBUILD	2018-05-11 20:02:38 UTC (rev 320898)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
-
-_pkgname=privacybadger
-pkgname=firefox-extension-${_pkgname}
-pkgver=2018.4.23
-pkgrel=2
-pkgdesc="Block third party tracking in your browser"
-arch=('any')
-url="https://www.eff.org/privacybadger"
-license=('GPL3')
-groups=('firefox-addons')
-depends=("firefox")
-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=('bcb0837c8bae41fa20f44dda17023f99680e760e35b9df85fe0e6f5c2b568e3b'
-            'SKIP')
-validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei <alexei 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-privacybadger/repos/community-any/PKGBUILD (from rev 320897, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-11 20:02:38 UTC (rev 320898)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+
+_pkgname=privacybadger
+pkgname=firefox-extension-${_pkgname}
+pkgver=2018.5.10
+pkgrel=1
+pkgdesc="Block third party tracking in your browser"
+arch=('any')
+url="https://www.eff.org/privacybadger"
+license=('GPL3')
+groups=('firefox-addons')
+depends=("firefox")
+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=('f9a68ad00c255732553d470c88490aee41e6c17107a43e6eb26a530077c13b29'
+            'SKIP')
+validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei <alexei 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
+}



More information about the arch-commits mailing list