github-cli: update to 2.19.0

This commit is contained in:
Marcin Puc 2022-11-03 22:21:31 +01:00 committed by Michal Vasilek
parent 840a672638
commit eccdea06dd

View File

@ -1,6 +1,6 @@
# Template file for 'github-cli'
pkgname=github-cli
version=2.18.1
version=2.19.0
revision=1
wrksrc="cli-${version}"
build_style=go
@ -13,7 +13,7 @@ license="MIT"
homepage="https://cli.github.com"
changelog="https://github.com/cli/cli/releases"
distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
checksum=b66c15f03de1fa964fdd60641aec7f1d5c09b338ee10e9475c645bb0d8fa1e98
checksum=522aeaa5e1ed885d89cf44fe8e1c84da6a372046d4e173a5cd290821ac5afdc8
pre_build() {
local _date
@ -29,9 +29,8 @@ post_install() {
CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
vcopy share/man usr/share
GH="${DESTDIR}/usr/bin/gh"
for shell in bash fish zsh; do
vtargetrun ${GH} completion -s $shell > github-cli.$shell
vcompletion github-cli.$shell $shell gh
vtargetrun "${DESTDIR}/usr/bin/gh" completion -s ${shell} > github-cli.${shell}
vcompletion github-cli.${shell} ${shell} gh
done
}