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 * +}