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

Daniel M. Capella polyzen at archlinux.org
Mon Nov 30 06:24:41 UTC 2020


    Date: Monday, November 30, 2020 @ 06:24:41
  Author: polyzen
Revision: 766537

archrelease: copy trunk to community-any

Added:
  firefox-ublock-origin/repos/community-any/PKGBUILD
    (from rev 766536, firefox-ublock-origin/trunk/PKGBUILD)
Deleted:
  firefox-ublock-origin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++--------------------
 1 file changed, 28 insertions(+), 20 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-30 06:24:20 UTC (rev 766536)
+++ PKGBUILD	2020-11-30 06:24:41 UTC (rev 766537)
@@ -1,20 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=firefox-ublock-origin
-pkgver=1.31.0
-pkgrel=1
-pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
-arch=('any')
-url=https://github.com/gorhill/uBlock
-license=('GPL3')
-groups=('firefox-addons')
-source=("https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-$pkgver-an+fx.xpi")
-noextract=("${source##*/}")
-sha256sums=('d9eef701b99866565708fe69b5855c1634187630e9e223e810f10e482545e6c0')
-b2sums=('68baf9320844df042d81ca9b96d4e014351d036fd3a098013f791d96ad21750a9d31e44caaacd3ec1f8f2f488177b1c7e18cebfbfd7e147afef0780a770ebb3c')
-
-package() {
-  install -Dm644 "${source##*/}" "$pkgdir"/usr/lib/firefox/browser/extensions/uBlock0 at raymondhill.net.xpi
-}
-
-# vim:set ts=2 sw=2 et:

Copied: firefox-ublock-origin/repos/community-any/PKGBUILD (from rev 766536, firefox-ublock-origin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-30 06:24:41 UTC (rev 766537)
@@ -0,0 +1,28 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=firefox-ublock-origin
+pkgver=1.31.0
+_commit=b6b167671ef596dee43349efcd6bf74f96caa220
+pkgrel=2
+pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
+arch=('any')
+url=https://github.com/gorhill/uBlock
+license=('GPL3')
+groups=('firefox-addons')
+makedepends=('git' 'python' 'zip')
+source=("git+$url.git#commit=$_commit?signed"
+        "git+https://github.com/uBlockOrigin/uAssets.git")
+b2sums=('SKIP' 'SKIP')
+validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill <rhill at raymondhill.net>
+
+build() {
+  cd uBlock
+  ./tools/make-firefox.sh all
+}
+
+package() {
+  cd uBlock/dist/build
+  install -Dm644 uBlock0.firefox.xpi "$pkgdir"/usr/lib/firefox/browser/extensions/uBlock0 at raymondhill.net.xpi
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list