summaryrefslogtreecommitdiff
path: root/www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild')
-rw-r--r--www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild b/www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild
new file mode 100644
index 0000000..a5c7591
--- /dev/null
+++ b/www-plugins/libredirect-bin/libredirect-bin-2.8.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VER="2.8.4"
+
+DESCRIPTION="LibRedirect addon for Firefox"
+HOMEPAGE="https://github.com/libredirect/browser_extension"
+XPI="libredirect-${VER}.xpi"
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/4280925/${XPI}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ dodir "/usr/share/firefox-addons"
+ cp "${DISTDIR}/${XPI}" "${D}/usr/share/firefox-addons/7esoorv3@alefvanoon.anonaddy.me.xpi"
+}