mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
hugo: no man for aarch64-musl, too
This commit is contained in:
parent
b4357aca39
commit
8e66919650
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue