summaryrefslogtreecommitdiff
path: root/libre/icecat-ublock-origin
diff options
context:
space:
mode:
Diffstat (limited to 'libre/icecat-ublock-origin')
-rw-r--r--libre/icecat-ublock-origin/PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/libre/icecat-ublock-origin/PKGBUILD b/libre/icecat-ublock-origin/PKGBUILD
index db567217d..f3d55032a 100644
--- a/libre/icecat-ublock-origin/PKGBUILD
+++ b/libre/icecat-ublock-origin/PKGBUILD
@@ -1,28 +1,24 @@
+# Maintainer (Arch): Daniel M. Capella <polyzen@archlinux.info>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=icecat-ublock-origin
-pkgver=1.6.8
+pkgver=1.9.6
pkgrel=1
-pkgdesc="Extension fork of the Adblock Plus for IceCat which block ads and banners, but without 'acceptable ads' feature"
+pkgdesc='An efficient blocker add-on for various browsers. Fast, potent, and lean.'
+url=https://github.com/gorhill/uBlock
arch=('any')
-url="https://github.com/gorhill/uBlock"
license=('GPL3')
-groups=('icecat-addons')
-depends=("icecat")
-makedepends=('unzip')
+depends=('icecat')
provides=('icecat-adblock-plus')
conflicts=('icecat-adblock-plus')
replaces=('icecat-adblock-plus')
-source=("ublock-origin-$pkgver.xpi::https://github.com/gorhill/uBlock/releases/download/$pkgver/uBlock0.firefox.xpi")
-md5sums=('45ba423404d7a09bc4eff5ea88591b5a')
+groups=('icecat-addons')
+source=("https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-$pkgver-fx+sm+an+tb.xpi")
+noextract=("${source##*/}")
+sha256sums=('32157544fdaf078651fdae209f12a58e82a55ded9067d89023136c63100f7adc')
package() {
- # extension
- _dest="$pkgdir/usr/lib/icecat/browser/extensions/uBlock0@raymondhill.net"
- find . -type d -exec install -d {} $_dest/{} \;
- find . -type f -exec install -Dm644 {} $_dest/{} \;
-
- # license
- install -Dm644 LICENSE.txt \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm755 "${source##*/}" "$pkgdir"/usr/lib/icecat/browser/extensions/uBlock0@raymondhill.net.xpi
}
+
+# vim:set ts=2 sw=2 et: