Skip to content

Commit

Permalink
hugo: no man for aarch64-musl, too
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Jun 3, 2024
1 parent b4357ac commit 8e66919
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions srcpkgs/hugo/template
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ 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
for page in $(ls man/); do
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
}

0 comments on commit 8e66919

Please sign in to comment.