commit: 7c8de789137488c2467d3608676e58f3a9c8d531
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 14:23:29 2021 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 14:30:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8de789
www-apps/selfoss: use readme.gentoo
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
.../selfoss/{selfoss-2.18.ebuild => selfoss-2.18-r1.ebuild} | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/www-apps/selfoss/selfoss-2.18.ebuild
b/www-apps/selfoss/selfoss-2.18-r1.ebuild
similarity index 79%
rename from www-apps/selfoss/selfoss-2.18.ebuild
rename to www-apps/selfoss/selfoss-2.18-r1.ebuild
index b8631a04cd07..eafce92230a5 100644
--- a/www-apps/selfoss/selfoss-2.18.ebuild
+++ b/www-apps/selfoss/selfoss-2.18-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit webapp
+inherit readme.gentoo-r1 webapp
DESCRIPTION="The multipurpose rss reader, live stream, mashup, aggregation web
application"
HOMEPAGE="https://selfoss.aditu.de/"
@@ -24,6 +24,9 @@ RDEPEND="
)
"
+DOC_CONTENTS="Default selfoss config is installed as defaults.ini;
+Copy that config to config.ini and customize as you wish."
+
pkg_setup() {
webapp_pkg_setup
}
@@ -39,9 +42,10 @@ src_install() {
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
webapp_src_install
+
+ readme.gentoo_create_doc
}
pkg_postinst() {
- elog "Default selfoss config is installed as defaults.ini;"
- elog "Copy that config to config.ini and customize as you wish."
+ readme.gentoo_print_elog
}