summaryrefslogtreecommitdiff
path: root/libre/icecat-ublock-origin/PKGBUILD
blob: fbe69f5ef544ec85604fc2aa967c6a7dba72f6bc (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.17.2
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=('172c7f1d177f0438a95fda0d4b0351b3098b00c5391c0b6e09e43e5f15d9c072')

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