[arch-commits] Commit in firefox-extension-privacybadger/repos/community-any (2 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Mar 8 19:16:42 UTC 2020
Date: Sunday, March 8, 2020 @ 19:16:41
Author: eschwartz
Revision: 592382
archrelease: copy trunk to community-any
Added:
firefox-extension-privacybadger/repos/community-any/PKGBUILD
(from rev 592381, 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-03-08 19:16:31 UTC (rev 592381)
+++ PKGBUILD 2020-03-08 19:16:41 UTC (rev 592382)
@@ -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.1.13
-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=('180066046e3aee7d94933f57300ea443af8d14bf63ea9f455407646868661eb7'
- 'SKIP')
-b2sums=('cea951243b9273483839f3761991858f8c1ec5bf70b163baba7608f538b0ccb9531144dbbf08166a8efc5f75a665757c667f2b0afc61249e776b7049826f8355'
- '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 592381, firefox-extension-privacybadger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-08 19:16:41 UTC (rev 592382)
@@ -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.2.19
+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=('2f65a74b6e39198a25344a2bf10e95c43fa89765c3071106d2af97c93968d657'
+ 'SKIP')
+b2sums=('0b314ce2dc653a5eba2f824ebcca3e4d709da205e30ce2bf50ba344360db1a797903f7d8553c0b9e57d8ac703e9007bc4aefd763ccf59c71a6a2732b9cae0522'
+ '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