diff options
author | Aaron Bauman <bman@gentoo.org> | 2020-12-15 20:44:15 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-12-15 21:06:02 -0500 |
commit | 279aa62b5670ab9367d7259859ccd05bb12fa53b (patch) | |
tree | 36bff6f460d58f31a4014468d5c57cd6b7b2656c | |
parent | net-news/rssguard: fix qtdeclarative dep (diff) | |
download | gentoo-279aa62b.tar.gz gentoo-279aa62b.tar.bz2 gentoo-279aa62b.zip |
eclass/mozextension: fixup documentation
Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r-- | eclass/mozextension.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass index ea4f1eb143e9..ab7d56d24ce9 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 |