summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff1dd27f0acbd5a391ecab167ca2458d14bd1f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Ryan Barillos < ryan dot barillos at proton dot me >

_name=blocktube
_id="{58204f8b-01c2-4bbc-98f8-9a90458fd9ef}"

pkgname="firefox-$_name"
pkgver=0.4.2
pkgrel=1
pkgdesc="YouTube content blocker."
arch=('any')
url="https://addons.mozilla.org/en-US/firefox/addon/$_name/"
license=('GPL3')
groups=('firefox-addons')
source=("$_name-$pkgver.xpi::https://addons.mozilla.org/firefox/downloads/latest/$_name/latest.xpi")
md5sums=('3a1218f7687516a0d1e38c9e46829762')


package() {
    # cd "$srcdir"
    install -Dm644 ${_name}-${pkgver}.xpi "${pkgdir}/usr/lib/firefox/browser/extensions/${_id}.xpi"
}