From fd92af7d7a31031cee594a554c243364cad76d27 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Thu, 14 Apr 2022 13:04:10 -0400 Subject: [PATCH] github-cli: add manpages fixes #36689 --- srcpkgs/github-cli/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template index 35576bf8ee82..28c6acf2aaf5 100644 --- a/srcpkgs/github-cli/template +++ b/srcpkgs/github-cli/template @@ -1,7 +1,7 @@ # Template file for 'github-cli' pkgname=github-cli version=2.8.0 -revision=1 +revision=2 wrksrc="cli-${version}" build_style=go build_helper=qemu @@ -24,6 +24,7 @@ pre_build() { } post_build() { + CGO_ENABLED=0 GOARCH="" go run script/build.go manpages gh=$(find $GOPATH/bin -name gh) for shell in bash fish zsh; do vtargetrun $gh completion -s $shell > github-cli.$shell @@ -33,6 +34,7 @@ post_build() { post_install() { vlicense LICENSE + vcopy share/man usr/share for shell in bash fish zsh; do vcompletion github-cli.$shell $shell gh done