[arch-commits] Commit in firefox-extension-privacybadger/repos/community-any (2 files)
Eli Schwartz
eschwartz at archlinux.org
Mon Aug 31 14:13:10 UTC 2020
Date: Monday, August 31, 2020 @ 14:13:10
Author: eschwartz
Revision: 694184
archrelease: copy trunk to community-any
Added:
firefox-extension-privacybadger/repos/community-any/PKGBUILD
(from rev 694183, 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 2020-08-31 14:12:54 UTC (rev 694183)
+++ PKGBUILD 2020-08-31 14:13:10 UTC (rev 694184)
@@ -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=2020.7.21
-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=('39f5477f92a98924d5fa6e846ac8c29e225a3f3971246b4393ce4e4ac7efbe36'
- 'SKIP')
-b2sums=('2af5f3e0536f67ae069dcab4d30e4f9adb353399902d1941d8fadc518f8a78b72fcfe4c8a9c3b84d5d3664ea17ada96c7cbe12c68ccbfaa7fb34ed7932ab3a51'
- '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 694183, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-31 14:13:10 UTC (rev 694184)
@@ -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=2020.8.25
+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=('4033bade207cd699141cb8d28c315c8affaa0562f1ddc616ed4f30cae572ae98'
+ 'SKIP')
+b2sums=('fde13c89ec153a2a828f682f06fa882bfd7c0beb77544c0f0407d19b34f5297138ffcd4fdfaa6997150231a624d1990de518182faff9306a44709728ce4bf764'
+ '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