From 46ac8bd35df9fcc0f08efdf243db45c08a035c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Thu, 4 Oct 2018 17:02:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=20firefox-ublock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www-plugins/firefox-ublock/Manifest | 1 + .../firefox-ublock-1.17.1.1.ebuild | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 www-plugins/firefox-ublock/Manifest create mode 100644 www-plugins/firefox-ublock/firefox-ublock-1.17.1.1.ebuild diff --git a/www-plugins/firefox-ublock/Manifest b/www-plugins/firefox-ublock/Manifest new file mode 100644 index 000000000..716464e6e --- /dev/null +++ b/www-plugins/firefox-ublock/Manifest @@ -0,0 +1 @@ +DIST uBlock0.firefox.signed.xpi 2362836 BLAKE2B 410144ee70d7569a4ab8297dadbaef4ebea0c8813741c22fe25632caf2ed0f69a1add12fcb44e5da0ea29e83c68307c5b7a45fedd8b6cf0d89994f7b03ee79e4 SHA512 74e3481816fdab4f5855bddcd66427e9cbf22b3a60fd66754ba95339af0d50af23418ac4aae54b591a576fafbd57b8c5d3a37677e270db765a907dd9f3c09efa diff --git a/www-plugins/firefox-ublock/firefox-ublock-1.17.1.1.ebuild b/www-plugins/firefox-ublock/firefox-ublock-1.17.1.1.ebuild new file mode 100644 index 000000000..8fd1bc799 --- /dev/null +++ b/www-plugins/firefox-ublock/firefox-ublock-1.17.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils + +MYPV="1.17.1b1" + +SRC_URI="https://github.com/gorhill/uBlock/releases/download/$MYPV/uBlock0.firefox.signed.xpi" + +DESCRIPTION="An efficient blocker for Firefox" +HOMEPAGE="https://github.com/gorhill/uBlock" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="|| ( www-client/firefox + www-client/firefox-bin )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_unpack() { + cp ${DISTDIR}/uBlock0.firefox.signed.xpi ${S}/ +} + +src_install() { + dodir /usr/share/firefox-ublock + insinto /usr/share/firefox-ublock + doins -r * +}