# Maintainer: Andreas Grapentin <andreas@grapentin.org>
# Maintainer (arch): Daniel M. Capella <polyzen@archlinux.org>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>

pkgname=icecat-ublock-origin
pkgver=1.27.6
pkgrel=1
pkgdesc='Efficient blocker add-on for various browsers. Fast, potent, and lean'
arch=(any)
url=https://github.com/gorhill/uBlock
license=(GPL3)
provides=(icecat-adblock-plus)
conflicts=(icecat-adblock-plus)
replaces=(firefox-ublock-origin firefox-adblock-plus icecat-adblock-plus)
groups=(icecat-addons)
source=("https://addons.cdn.mozilla.net/user-media/addons/607454/ublock_origin-$pkgver-an+fx.xpi")
noextract=("${source##*/}")
sha256sums=('371140a30fbee2ea65806956aac7cba66f7df04effd4197f3026147ced03f2b1')

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