parent
5a36406299
commit
f27382d6ef
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue