summaryrefslogtreecommitdiff
path: root/libre/icecat-ublock-origin/PKGBUILD
blob: 16a2ffdebf016d687aed03b36c7ef8d66350fc80 (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.18
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=('beddfb38822ff0d91efa43201ddbaa9187ae2a8e1387ffd1ec6d61985e9e6071')

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