summaryrefslogtreecommitdiff
path: root/libre/iceweasel-ublock-origin/PKGBUILD
blob: 09d9562abf5c6fe9e2544f819b7f16fea41a0b48 (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=iceweasel-ublock-origin

pkgver=1.15.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=(iceweasel)
provides=(iceweasel-adblock-plus)
conflicts=(iceweasel-adblock-plus)
replaces=(firefox-ublock-origin firefox-adblock-plus iceweasel-adblock-plus)
groups=(iceweasel-addons)

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

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