summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Abdel-Qader <abdelqaderali@protonmail.com>2023-07-05 15:33:05 -0400
committerSam James <sam@gentoo.org>2023-07-05 21:51:00 +0100
commit4061a106ca6de1063c3095c2d7511c39ebc54e70 (patch)
tree740a63e75e75c63c7f1a5c4f7216fe4ae8765152 /x11-terms
parentdev-php/PEAR-Crypt_GPG: drop 1.6.2 (diff)
downloadgentoo-4061a106ca6de1063c3095c2d7511c39ebc54e70.tar.gz
gentoo-4061a106ca6de1063c3095c2d7511c39ebc54e70.tar.bz2
gentoo-4061a106ca6de1063c3095c2d7511c39ebc54e70.zip
x11-terms/alacritty: Update 9999 man install
Upstream moved from man files to generated man files using scdoc. They also changed configuration to use toml, removing alacritty.yml. Signed-off-by: Ali Abdel-Qader <abdelqaderali@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/31768 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/alacritty/alacritty-9999.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11-terms/alacritty/alacritty-9999.ebuild b/x11-terms/alacritty/alacritty-9999.ebuild
index cc514ef9aee0..50b67c2db096 100644
--- a/x11-terms/alacritty/alacritty-9999.ebuild
+++ b/x11-terms/alacritty/alacritty-9999.ebuild
@@ -57,6 +57,7 @@ RDEPEND="${COMMON_DEPEND}
BDEPEND="
dev-util/cmake
>=virtual/rust-1.57.0
+ app-text/scdoc
"
QA_FLAGS_IGNORED="usr/bin/alacritty"
@@ -81,6 +82,11 @@ src_configure() {
}
src_compile() {
+ scdoc < ./extra/man/alacritty.1.scd > ./alacritty.1 || die
+ scdoc < ./extra/man/alacritty.5.scd > ./alacritty.5 || die
+ scdoc < ./extra/man/alacritty-msg.1.scd > ./alacritty-msg.1 || die
+ scdoc < ./extra/man/alacritty-bindings.5.scd > ./alacritty-bindings.5 || die
+
cd alacritty || die
cargo_src_compile
}
@@ -88,8 +94,7 @@ src_compile() {
src_install() {
cargo_src_install --path alacritty
- newman extra/alacritty.man alacritty.1
- newman extra/alacritty-msg.man alacritty-msg.1
+ doman alacritty.1 alacritty.5 alacritty-msg.1 alacritty-bindings.5
newbashcomp extra/completions/alacritty.bash alacritty
@@ -109,7 +114,6 @@ src_install() {
doins -r scripts/*
local DOCS=(
- alacritty.yml
CHANGELOG.md INSTALL.md README.md
docs/{ansicode.txt,escape_support.md,features.md}
)