mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
github-cli: update to 2.19.0
This commit is contained in:
parent
840a672638
commit
eccdea06dd
1 changed files with 4 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'github-cli'
|
# Template file for 'github-cli'
|
||||||
pkgname=github-cli
|
pkgname=github-cli
|
||||||
version=2.18.1
|
version=2.19.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="cli-${version}"
|
wrksrc="cli-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
|
@ -13,7 +13,7 @@ license="MIT"
|
||||||
homepage="https://cli.github.com"
|
homepage="https://cli.github.com"
|
||||||
changelog="https://github.com/cli/cli/releases"
|
changelog="https://github.com/cli/cli/releases"
|
||||||
distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=b66c15f03de1fa964fdd60641aec7f1d5c09b338ee10e9475c645bb0d8fa1e98
|
checksum=522aeaa5e1ed885d89cf44fe8e1c84da6a372046d4e173a5cd290821ac5afdc8
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
local _date
|
local _date
|
||||||
|
@ -29,9 +29,8 @@ post_install() {
|
||||||
CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
|
CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
|
||||||
vcopy share/man usr/share
|
vcopy share/man usr/share
|
||||||
|
|
||||||
GH="${DESTDIR}/usr/bin/gh"
|
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
vtargetrun ${GH} completion -s $shell > github-cli.$shell
|
vtargetrun "${DESTDIR}/usr/bin/gh" completion -s ${shell} > github-cli.${shell}
|
||||||
vcompletion github-cli.$shell $shell gh
|
vcompletion github-cli.${shell} ${shell} gh
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue