logo

overlay

My (experimental) gentoo overlay
commit: 41efb1e7d8d36c4dc57b3a68bc60ec2345754ffb
parent: fbbfba356213fef7369228bb5e63cdc93d35d00e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 11 May 2019 11:05:18 +0200

www-plugins/ublock: Bump to 1.19.0

Diffstat:

Mwww-plugins/ublock/Manifest1+
Awww-plugins/ublock/ublock-1.19.0.ebuild28++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/www-plugins/ublock/Manifest b/www-plugins/ublock/Manifest @@ -1 +1,2 @@ DIST uBlock0_1.18.16.firefox.xpi 2576750 BLAKE2B 26fe24304fce49934936fdaa44889ecc0686ad3c4acefcb57bc6b802e1e90e044088a2df4a1ed7a8a2f2727b2ac668f37db192f76126fc80b850e17ed151654e SHA512 13fadeccc4a63dbfeff053e2c3605c1332cfe9d0a41c999bb46e9a356d93ea988db060ea2e7109dbbef1e6ec1e0a45f6a7580625c3dc9a6d846bd166512b5b4f +DIST uBlock0_1.19.0.firefox.xpi 2616130 BLAKE2B 1dde7d517d499de40d32241996301ca5a671a1c4044a8c06dfd2097c805018c4274a31491c8b0c5bcdbe93a76d48a21b02bb69278bb21a4853ab900c18ccc835 SHA512 732c0e263b84bade9da0e8e563de1c68198806bcb957b7cd3207b7aea52227ecebbf50f8233414765cc669d516d1646ad19ba4fec3c4b50abf366c3822a3591c diff --git a/www-plugins/ublock/ublock-1.19.0.ebuild b/www-plugins/ublock/ublock-1.19.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_XPINAME="uBlock0_${PV}.firefox" + +DESCRIPTION="An efficient blocker for Chromium and Firefox. Fast and lean" +HOMEPAGE="https://github.com/gorhill/uBlock" +SRC_URI="https://github.com/gorhill/uBlock/releases/download/${PV}/${MY_XPINAME}.xpi" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}/${MY_XPINAME}.xpi" . || die +} + +src_install() { + # See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Distribution_options/Sideloading_add-ons#Installation_using_the_standard_extension_folders + insinto "/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/" + # Use the extension id found in the manifest.json for the filename and add .xpi + newins "${MY_XPINAME}.xpi" "uBlock0@raymondhill.net.xpi" +}