summaryrefslogtreecommitdiff
path: root/libre/iceweasel-ublock-origin/PKGBUILD
blob: 280c580f563fd8a34c4e6f8c94a657b111f60ea9 (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.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=(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=('c1390a7073a758818e3c9b3c5ff472eb80401f4f04d81416c6d4e126b7ab3ca5')

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