summaryrefslogtreecommitdiff
path: root/libre/iceweasel-ublock-origin/PKGBUILD
blob: 19e22d9c25f7f185cc09ffc6c5f5c17ff2934691 (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
# Maintainer (Arch): Daniel M. Capella <polyzen@archlinux.info>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=iceweasel-ublock-origin
pkgver=1.9.12
pkgrel=1
pkgdesc='An efficient blocker add-on for various browsers. Fast, potent, and lean.'
url=https://github.com/gorhill/uBlock
arch=('any')
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=("https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-$pkgver-tb+an+fx+sm.xpi")
noextract=("${source##*/}")
sha512sums=('0901bb47317888dc7823b5d7841ff089ce757fab3fef895e34ea5138b38ca5190e5055dae569022ae6350dd69de36739235df5d46c2aaef3cf0c6675b656c9ec')

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

# vim:set ts=2 sw=2 et: