logo

overlay

My (experimental) gentoo overlay
commit: dab2e97c4fb08e58d77ac646c86e2a527a56817c
parent: 51e9f4f3b82bcc1f52069168cb6822342b5da1fe
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 26 May 2019 22:49:28 +0200

www-plugins/ublock: Bump to 1.19.6

Diffstat:

Mwww-plugins/ublock/Manifest1+
Awww-plugins/ublock/ublock-1.19.6.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.19.0.firefox.xpi 2616130 BLAKE2B 1dde7d517d499de40d32241996301ca5a671a1c4044a8c06dfd2097c805018c4274a31491c8b0c5bcdbe93a76d48a21b02bb69278bb21a4853ab900c18ccc835 SHA512 732c0e263b84bade9da0e8e563de1c68198806bcb957b7cd3207b7aea52227ecebbf50f8233414765cc669d516d1646ad19ba4fec3c4b50abf366c3822a3591c +DIST uBlock0_1.19.6.firefox.xpi 2621122 BLAKE2B 5a5dc6f6acc948a160114b09efefc99f2ce6cf6e46eb541fe09dd3b25ca146f92d047d2195125f43fbec5251290b59b4e5c5612a001f1879539ab8d49b46c715 SHA512 f15e0ef92b32ae9b49880b2bd28861ab34a7d75aaaabbec4bddf922e5ab007fbd1d5d7f703db3554aaf737f94dbb037244a538b03c3481f163ed5293bba4c498 diff --git a/www-plugins/ublock/ublock-1.19.6.ebuild b/www-plugins/ublock/ublock-1.19.6.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" +}