From f72b4f9c7a7f616c46787db167c2098167abd0dd Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 3 Nov 2022 22:21:31 +0100 Subject: [PATCH] github-cli: update to 2.19.0 --- srcpkgs/github-cli/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template index 973cd64ec8c2..458fbe94ad0e 100644 --- a/srcpkgs/github-cli/template +++ b/srcpkgs/github-cli/template @@ -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 }