summaryrefslogtreecommitdiff
path: root/libre/icecat-ublock-origin/PKGBUILD
blob: 61bf99aac5f24f7f7e837d6074768343e7ae8d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Maintainer (Arch): Daniel M. Capella <polyzen@archlinux.info>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>

pkgname=icecat-ublock-origin

pkgver=1.14.20
pkgrel=1
arch=(any)

pkgdesc="An efficient blocker add-on for various browsers. Fast, potent, and lean."
url="https://github.com/gorhill/uBlock"
license=(GPL3)

depends=(icecat)
provides=(icecat-adblock-plus)
conflicts=(icecat-adblock-plus)
replaces=(icecat-adblock-plus)
groups=(icecat-addons)

source=("uBlock0-$pkgver.firefox.xpi::https://github.com/gorhill/uBlock/releases/download/$pkgver/uBlock0.firefox.xpi")
noextract=("${source%%::*}")
sha256sums=('bd87046964246d405b745c01b70f7d4dd2c7036ef847d3a835307af59cc4223a')

package() {
  install -Dm755 "${source%%::*}" \
    "$pkgdir"/usr/lib/icecat/browser/extensions/uBlock0@raymondhill.net.xpi
}