diff options
author | lilac | 2019-06-17 09:09:44 +0800 |
---|---|---|
committer | lilac | 2019-06-17 09:09:44 +0800 |
commit | 9df5c282a90429cbae4feb2e9449b34f1ef2188f (patch) | |
tree | 2db5bac212cfc78761ea73e255af8f2d341c1a6b | |
download | aur-9df5c282a90429cbae4feb2e9449b34f1ef2188f.tar.gz |
update by lilac
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..968272e1810e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = chromium-umatrix-git + pkgdesc = Point and click matrix to filter net requests according to source, destination and type + pkgver = 1.3.17rc4.2.g3da449b + pkgrel = 1 + url = https://github.com/gorhill/uMatrix + arch = any + license = GPL3 + makedepends = git + makedepends = zip + makedepends = python + source = git+https://github.com/gorhill/uMatrix.git + source = git+https://github.com/uBlockOrigin/uAssets.git + sha512sums = SKIP + sha512sums = SKIP + +pkgname = chromium-umatrix-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b44dcb412ebd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Yardena Cohen <yardenack at gmail dot com> + +# check for new commits: +# https://github.com/gorhill/uBlock/commits/master + +gitname=uMatrix +pkgname=chromium-umatrix-git +pkgver=1.3.17rc4.2.g3da449b +pkgrel=1 +pkgdesc="Point and click matrix to filter net requests according to source, destination and type" +arch=('any') +url="https://github.com/gorhill/${gitname}" +license=('GPL3') +makedepends=(git zip python) +source=("git+${url}.git" "git+https://github.com/uBlockOrigin/uAssets.git") +sha512sums=('SKIP' 'SKIP') + +pkgver() { + cd "${srcdir}/${gitname}" + local ver="$(git describe --tags | sed 's|-|\.|g')" + printf "%s" "${ver//-/.}" +} +build() { + cd "${srcdir}/${gitname}" + ./tools/make-chromium.sh +} +package() { + mkdir -p "${pkgdir}/usr/share/${pkgname}" + cp -dr --no-preserve=ownership "${srcdir}/${gitname}/dist/build/uMatrix.chromium"/* "${pkgdir}/usr/share/${pkgname}/" +} |