hugo: no man for aarch64-musl, too

This commit is contained in:
Đoàn Trần Công Danh 2024-06-03 08:01:39 +07:00
parent b4357aca39
commit 8e66919650

View file

@ -16,6 +16,11 @@ checksum=1ee1a7948303937e6f846bdbb99fc3681d25418d25772edb7a367b3456ef05db
post_install() {
vdoc README.md
# https://build.voidlinux.org/builders/aarch64-musl_builder/builds/49650/steps/shell_3/logs/stdio
if [ "$XBPS_TARGET_MACHINE" = "aarch64-musl" ]; then
return
fi
hugo=$(find $GOPATH/bin -name hugo)
vtargetrun $hugo gen man
@ -23,11 +28,8 @@ post_install() {
vman man/$page
done
# https://build.voidlinux.org/builders/aarch64-musl_builder/builds/49650/steps/shell_3/logs/stdio
if [ "$XBPS_TARGET_MACHINE" != "aarch64-musl" ]; then
for shell in bash fish zsh; do
vtargetrun $hugo completion $shell > ${pkgname}.$shell
vcompletion ${pkgname}.$shell $shell
done
fi
}