Date: Thursday, August 2, 2018 @ 01:20:01
  Author: eschwartz
Revision: 367215

archrelease: copy trunk to community-any

Added:
  firefox-extension-privacybadger/repos/community-any/PKGBUILD
    (from rev 367214, 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-08-02 01:19:40 UTC (rev 367214)
+++ PKGBUILD    2018-08-02 01:20:01 UTC (rev 367215)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Eli Schwartz <eschwa...@archlinux.org>
-# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr>
-
-_pkgname=privacybadger
-pkgname=firefox-extension-${_pkgname}
-pkgver=2018.7.18.1
-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=('abfc473dd11a1765ededec5adf279eef0abae20a8bdde30f21ae29db106b85fd'
-            'SKIP')
-validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei 
<ale...@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 
367214, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-08-02 01:20:01 UTC (rev 367215)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwa...@archlinux.org>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr>
+
+_pkgname=privacybadger
+pkgname=firefox-extension-${_pkgname}
+pkgver=2018.8.1
+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=('069656b4c36e11dc814ae13ce035ee9918b57f1350c465f6775cccac94cc682a'
+            'SKIP')
+validpgpkeys=('88F8662241B0C16C16E3B5A7950FC3999D80F309') # Alexei 
<ale...@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
+}

Reply via email to