summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-07-24 10:19:43 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-07-24 10:55:09 +0200
commitecece412aba96c8c312af39cc982331bf15be6f9 (patch)
treeffb5e448791dd2cfbf71211ff901a477ec46826e /app-shells
parentdev-texlive/texlive-pictures: drop 2023_p69409-r2 (diff)
downloadgentoo-ecece412aba96c8c312af39cc982331bf15be6f9.tar.gz
gentoo-ecece412aba96c8c312af39cc982331bf15be6f9.tar.bz2
gentoo-ecece412aba96c8c312af39cc982331bf15be6f9.zip
app-shells/atuin: add 18.3.0-r1, drop 18.3.0
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/atuin/atuin-18.3.0-r1.ebuild (renamed from app-shells/atuin/atuin-18.3.0.ebuild)21
1 files 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
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="
zeroize_derive@1.4.2
"
-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
}