summaryrefslogtreecommitdiff
path: root/libre/iceweasel-ublock-origin/PKGBUILD
blob: 1c94ae8efc8fe4d1bcff3f1a9ec05c63bc0800ee (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.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=(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=('35658d85b7a7116df370e38a736bd758f0fa2db4a7c7cef5fe0882b2859032c5')

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