summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-12-15 20:44:15 -0500
committerAaron Bauman <bman@gentoo.org>2020-12-15 21:06:02 -0500
commit279aa62b5670ab9367d7259859ccd05bb12fa53b (patch)
tree36bff6f460d58f31a4014468d5c57cd6b7b2656c /eclass/mozextension.eclass
parentnet-news/rssguard: fix qtdeclarative dep (diff)
downloadgentoo-279aa62b5670ab9367d7259859ccd05bb12fa53b.tar.gz
gentoo-279aa62b5670ab9367d7259859ccd05bb12fa53b.tar.bz2
gentoo-279aa62b5670ab9367d7259859ccd05bb12fa53b.zip
eclass/mozextension: fixup documentation
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'eclass/mozextension.eclass')
-rw-r--r--eclass/mozextension.eclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass
index ea4f1eb143e..ab7d56d24ce 100644
--- a/eclass/mozextension.eclass
+++ b/eclass/mozextension.eclass
@@ -5,7 +5,7 @@
# @MAINTAINER:
# Mozilla team <mozilla@gentoo.org>
# @BLURB: Install extensions for use in mozilla products.
-#
+
if [[ ! ${_MOZEXTENSION} ]]; then
# @ECLASS-VARIABLE: MOZEXTENSION_TARGET
@@ -20,6 +20,8 @@ inherit eutils
DEPEND="app-arch/unzip"
+# @FUNCTION: mozversion_extension_location
+
mozversion_extension_location() {
case ${PN} in
firefox|firefox-bin|palemoon)
@@ -32,6 +34,8 @@ mozversion_extension_location() {
return 1
}
+# @FUNCTION: xpi_unpack
+
xpi_unpack() {
local xpi xpiname srcdir
@@ -61,6 +65,7 @@ xpi_unpack() {
done
}
+# @FUNCTION: xpi_install
xpi_install() {
local emid
@@ -91,6 +96,8 @@ xpi_install() {
doins -r "${x}"/* || die "failed to copy extension"
}
+# @FUNCTION: xpi_copy
+
xpi_copy() {
local emid