Date: Wednesday, September 29, 2021 @ 01:37:36 Author: polyzen Revision: 1025913
archrelease: copy trunk to community-any Added: ublock-origin/repos/community-any/PKGBUILD (from rev 1025912, ublock-origin/trunk/PKGBUILD) Deleted: ublock-origin/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 50 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-29 01:37:05 UTC (rev 1025912) +++ PKGBUILD 2021-09-29 01:37:36 UTC (rev 1025913) @@ -1,30 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=firefox-ublock-origin -pkgver=1.37.2 -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') -makedepends=('git' 'python' 'strip-nondeterminism' 'zip') -source=("git+$url.git#commit=$pkgver?signed" - "git+https://github.com/uBlockOrigin/uAssets.git") -b2sums=('SKIP' - 'SKIP') -validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill <rh...@raymondhill.net> - -build() { - cd uBlock - ./tools/make-firefox.sh all - strip-nondeterminism -t zip dist/build/uBlock0.firefox.xpi -} - -package() { - cd uBlock/dist/build - install -Dm644 uBlock0.firefox.xpi \ - "$pkgdir"/usr/lib/firefox/browser/extensions/ublo...@raymondhill.net.xpi -} - -# vim:set ts=2 sw=2 et: Copied: ublock-origin/repos/community-any/PKGBUILD (from rev 1025912, ublock-origin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-29 01:37:36 UTC (rev 1025913) @@ -0,0 +1,50 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=('ublock-origin' 'firefox-ublock-origin') +pkgbase=ublock-origin +pkgver=1.38.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') +makedepends=('git' 'npm' 'python' 'strip-nondeterminism' 'zip') +source=("git+$url.git#commit=$pkgver?signed" + "git+https://github.com/uBlockOrigin/uAssets.git") +b2sums=('SKIP' + 'SKIP') +validpgpkeys=('603B28AA5D6CD687A554347425E1490B761470C2') # Raymond Hill <rh...@raymondhill.net> + +prepare() { + cd uBlock + git submodule init + git config submodule.submodules/uAssets.url ../uAssets + git submodule update +} + +build() { + cd uBlock + make + strip-nondeterminism -t zip dist/build/uBlock0.firefox.xpi +} + +check() { + cd uBlock + make test +} + +package_ublock-origin() { + pkgdesc+=' (unpacked webextension)' + cd uBlock/dist/build/uBlock0.chromium + install -d "$pkgdir"/usr/lib/$pkgbase + cp -r -- * "$pkgdir"/usr/lib/$pkgbase +} + +package_firefox-ublock-origin() { + groups=('firefox-addons') + cd uBlock/dist/build + install -Dm644 uBlock0.firefox.xpi \ + "$pkgdir"/usr/lib/firefox/browser/extensions/ublo...@raymondhill.net.xpi +} + +# vim:set ts=2 sw=2 et: