[arch-commits] Commit in firefox-extension-privacybadger/repos/community-any (2 files)
Eli Schwartz
eschwartz at archlinux.org
Tue Dec 15 06:17:17 UTC 2020
Date: Tuesday, December 15, 2020 @ 06:17:16
Author: eschwartz
Revision: 775845
archrelease: copy trunk to community-any
Added:
firefox-extension-privacybadger/repos/community-any/PKGBUILD
(from rev 775844, 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-12-15 06:17:00 UTC (rev 775844)
+++ PKGBUILD 2020-12-15 06:17:16 UTC (rev 775845)
@@ -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.10.7
-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=('76bf77c30b430ff00e02304418b743d1433376c35a5ad455c5fe32e92eedfa1e'
- 'SKIP')
-b2sums=('905fe8067a4bb07f4e0831ad618e65cfe9ca19a1d3ae46a24b646468663197ca252fc6772bb844aeda9b03fdddc19e5533889a7fb9a27ef42651587fc84cb33c'
- '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 775844, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-15 06:17:16 UTC (rev 775845)
@@ -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.12.10
+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=('ecab8137f9a99c7a7c46fae51dd116de5853392d63b9efe57643d40c3956af52'
+ 'SKIP')
+b2sums=('f065b6e872094362da29f479ab18d009bc59fc73a041b5cefdd3c8177fa7a652e762537398f952ae0557e103d81e39acd1c4b2d7514f257b8b67b9db2da94682'
+ '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