diff options
author | Viachaslau Khalikin | 2020-02-22 10:19:25 +0300 |
---|---|---|
committer | Viachaslau Khalikin | 2021-09-03 14:11:41 +0300 |
commit | e52468904a0cca621ec95d2773d10180b714f566 (patch) | |
tree | 5b3a351ffa29f5ca2dd7e34c9394c7e9be9b833f | |
parent | f52deec2e38ae08c7c493f077071d7e574c21add (diff) | |
download | aur-icecat-umatrix.tar.gz |
bump to 1.4.4
change to build from sources
add filetype in modeline
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 28 insertions, 12 deletions
@@ -1,14 +1,19 @@ pkgbase = icecat-umatrix pkgdesc = Point and click matrix to filter net requests by source, destination and type - pkgver = 1.4.0 + pkgver = 1.4.4 pkgrel = 1 url = https://github.com/gorhill/uMatrix arch = any groups = icecat-addons license = GPL3 - noextract = uMatrix.firefox.xpi - source = https://github.com/gorhill/uMatrix/releases/download/1.4.0/uMatrix.firefox.xpi - sha256sums = 8e00959b70ba6d676a63022594d4414ce6ea3a9d13bc3099f25d282a275fb160 + makedepends = git + makedepends = python + makedepends = strip-nondeterminism + makedepends = zip + source = git+https://github.com/gorhill/uMatrix.git#commit=1.4.4?signed + source = git+https://github.com/uBlockOrigin/uAssets.git + validpgpkeys = 603B28AA5D6CD687A554347425E1490B761470C2 + b2sums = SKIP + b2sums = SKIP pkgname = icecat-umatrix - @@ -1,19 +1,30 @@ -# Maintainer: Viachaslau Khalikin <khalikin'at'yandex'dot'by> +# Maintainer: Viachaslau Khalikin <khalikin@yandex.by> pkgname=icecat-umatrix -pkgver=1.4.0 +pkgver=1.4.4 pkgrel=1 pkgdesc='Point and click matrix to filter net requests by source, destination and type' url=https://github.com/gorhill/uMatrix arch=('any') license=('GPL3') groups=('icecat-addons') -source=("https://github.com/gorhill/uMatrix/releases/download/${pkgver}/uMatrix.firefox.xpi") -noextract=("${source##*/}") -sha256sums=('8e00959b70ba6d676a63022594d4414ce6ea3a9d13bc3099f25d282a275fb160') +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 <rhill@raymondhill.net> + +build() { + cd uMatrix + ./tools/make-firefox.sh all + strip-nondeterminism -t zip dist/build/uMatrix.firefox.xpi +} package() { - install -Dm644 "${source##*/}" "$pkgdir"/usr/lib/icecat/browser/extensions/uMatrix@raymondhill.net.xpi + cd uMatrix/dist/build + install -Dm644 uMatrix.firefox.xpi \ + "$pkgdir"/usr/lib/icecat/browser/extensions/uMatrix@raymondhill.net.xpi } -# vim:set ts=2 sw=2 et: +# vim:set ft=sh ts=2 sw=2 et: |