summaryrefslogtreecommitdiff
path: root/www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild')
-rw-r--r--www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild b/www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild
new file mode 100644
index 0000000..a215f0a
--- /dev/null
+++ b/www-plugins/ublock-origin-bin/ublock-origin-bin-1.69.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VER="1.69.0"
+
+DESCRIPTION="uBlock Origin addon for Firefox"
+HOMEPAGE="https://github.com/gorhill/uBlock"
+XPI="ublock_origin-${VER}.xpi"
+SRC_URI="https://addons.mozilla.org/firefox/downloads/file/4261710/${XPI}"
+# alternative
+#XPI="uBlock0_${VER}.firefox.signed.xpi"
+#SRC_URI="https://github.com/gorhill/uBlock/releases/download/${VER}/${XPI}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ dodir "/usr/share/firefox-addons"
+ cp "${DISTDIR}/${XPI}" "${D}/usr/share/firefox-addons/uBlock0@raymondhill.net.xpi"
+}