firefox-ublock-1.25.1.7.ebuild

Download (652 Bytes)

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit eutils

MYPV="1.25.1b7"

SRC_URI="https://github.com/gorhill/uBlock/releases/download/$MYPV/uBlock0_${MYPV}.firefox.signed.xpi"

DESCRIPTION="An efficient blocker for Firefox"
HOMEPAGE="https://github.com/gorhill/uBlock"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"

DEPEND=""
RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_unpack() {
	cp ${DISTDIR}/uBlock0_${MYPV}.firefox.signed.xpi ${S}/uBlock0.firefox.signed.xpi
}

src_install() {
	dodir /usr/share/firefox-ublock
	insinto /usr/share/firefox-ublock
	doins -r *
}

Thank you!