[arch-commits] Commit in firefox-decentraleyes/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Mon Nov 30 08:58:26 UTC 2020


    Date: Monday, November 30, 2020 @ 08:58:25
  Author: polyzen
Revision: 766541

archrelease: copy trunk to community-any

Added:
  firefox-decentraleyes/repos/community-any/PKGBUILD
    (from rev 766540, firefox-decentraleyes/trunk/PKGBUILD)
Deleted:
  firefox-decentraleyes/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 19 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 08:58:01 UTC (rev 766540)
+++ PKGBUILD	2020-11-30 08:58:25 UTC (rev 766541)
@@ -1,19 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=firefox-decentraleyes
-pkgver=2.0.15
-pkgrel=1
-pkgdesc='Local emulation of Content Delivery Networks'
-url=https://decentraleyes.org/
-arch=('any')
-license=('MPL2')
-groups=('firefox-addons')
-source=("https://addons.cdn.mozilla.net/user-media/addons/521554/decentraleyes-$pkgver-an+fx.xpi")
-noextract=("${source##*/}")
-sha256sums=('2554069168458cc1351e5d37ee995de044e514ec72369829ff0bcbf31d586ddf')
-
-package() {
-  install -Dm644 "${source##*/}" "$pkgdir"/usr/lib/firefox/browser/extensions/jid1-BoFifL9Vbdl2zQ at jetpack.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-decentraleyes/repos/community-any/PKGBUILD (from rev 766540, firefox-decentraleyes/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-30 08:58:25 UTC (rev 766541)
@@ -0,0 +1,29 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=firefox-decentraleyes
+pkgver=2.0.15
+_commit=bcd62f75b346f838200cf29037cb5429620797a5
+pkgrel=2
+pkgdesc='Local emulation of Content Delivery Networks'
+url=https://decentraleyes.org/
+arch=('any')
+license=('MPL2')
+groups=('firefox-addons')
+makedepends=('git' 'npm' 'zip')
+source=("git+https://git.synz.io/Synzvato/decentraleyes.git#commit=$_commit?signed")
+b2sums=('SKIP')
+validpgpkeys=('A6B7BA10893FE67EE17A9F8FCECC45E1E979013C') # Thomas Rientjes <synzvato at protonmail.com>
+
+check() {
+  cd decentraleyes/audit
+  npm install
+  node run
+}
+
+package() {
+  cd decentraleyes
+  install -d "$pkgdir"/usr/lib/firefox/browser/extensions
+  zip -r "$pkgdir"/usr/lib/firefox/browser/extensions/jid1-BoFifL9Vbdl2zQ at jetpack.xpi * -x '.git*' 'audit/*' crowdin.yaml
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list