commit:     ecece412aba96c8c312af39cc982331bf15be6f9
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 08:19:43 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 08:55:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecece412

app-shells/atuin: add 18.3.0-r1, drop 18.3.0

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 .../{atuin-18.3.0.ebuild => atuin-18.3.0-r1.ebuild} | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/app-shells/atuin/atuin-18.3.0.ebuild 
b/app-shells/atuin/atuin-18.3.0-r1.ebuild
similarity index 96%
rename from app-shells/atuin/atuin-18.3.0.ebuild
rename to app-shells/atuin/atuin-18.3.0-r1.ebuild
index 288f92861986..6805ed102eb1 100644
--- a/app-shells/atuin/atuin-18.3.0.ebuild
+++ b/app-shells/atuin/atuin-18.3.0-r1.ebuild
@@ -454,7 +454,7 @@ CRATES="
        [email protected]
 "
 
-inherit cargo shell-completion systemd readme.gentoo-r1
+inherit cargo greadme shell-completion systemd
 
 DESCRIPTION="Shell history manager supporting encrypted synchronisation"
 HOMEPAGE="https://atuin.sh https://github.com/atuinsh/atuin";
@@ -487,6 +487,8 @@ BDEPEND="
 
 QA_FLAGS_IGNORED="usr/bin/${PN}"
 
+GREADME_DISABLE_AUTOFORMAT=1
+
 DOCS=(
        CONTRIBUTING.md
        CONTRIBUTORS
@@ -576,14 +578,11 @@ src_install() {
        insinto "/usr/share/${PN}"
        doins -r shell-init
 
-       local DOC_CONTENTS="Gentoo installs atuin's shell-init code under
-                 /usr/share/atuin/shell-init/.
-                 Therefore, instead of using, e.g., 'eval \"\$(atuin init 
zsh)\"' in
-                 your .zshrc you can simply put \"source 
/usr/share/atuin/shell-init/zsh\"
-                 there, which avoids the cost of forking a process."
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
+       greadme_stdin <<-EOF
+       Gentoo installs atuin's shell-init code under
+           /usr/share/atuin/shell-init/
+       Therefore, instead of using, e.g., 'eval \"\$(atuin init zsh)\"' in
+       your .zshrc you can simply put \"source 
/usr/share/atuin/shell-init/zsh\"
+       there, which avoids the cost of forking a process.
+EOF
 }

Reply via email to