diff options
Diffstat (limited to 'community/github-cli/APKBUILD')
-rw-r--r-- | community/github-cli/APKBUILD | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/community/github-cli/APKBUILD b/community/github-cli/APKBUILD index a3819d86b06..f2185e1f3b8 100644 --- a/community/github-cli/APKBUILD +++ b/community/github-cli/APKBUILD @@ -1,25 +1,33 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> -# Contributor Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com> -# Maintainer: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com> +# Contributor: Celeste <cielesti@protonmail.com> +# Contributor: Andrei Jiroh Eugenio Halili <ajhalili2006@andreijiroh.xyz> +# Maintainer: Andrei Jiroh Eugenio Halili <ajhalili2006@andreijiroh.xyz> pkgname=github-cli -pkgver=2.2.0 -pkgrel=0 +pkgver=2.47.0 +pkgrel=1 pkgdesc="CLI for dealing with GitHub" -options="net chmod-clean" # Need to fetch modules and clean them up +options="net" # Need to fetch modules url="https://cli.github.com" arch="all" license="MIT" depends="git" makedepends="go" +checkdepends="openssh-keygen openssh-client" subpackages=" $pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion " -source="https://github.com/cli/cli/archive/v$pkgver/github-cli-$pkgver-$pkgver.tar.gz +source="https://github.com/cli/cli/archive/v$pkgver/github-cli-$pkgver.tar.gz + fix-attestation-cmd-offline-unit-test-failure.patch + no-ignore-goflags.patch " builddir="$srcdir/cli-$pkgver" +export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" +export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" +export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" + prepare() { default_prepare @@ -42,7 +50,10 @@ build() { } check() { - go test -v ./... + export TZ=Europe/London + # skip tests that fail in official CI + export GITHUB_ACTIONS=true + go test ./... } package() { @@ -52,7 +63,8 @@ package() { cp -r share "$pkgdir"/usr } - sha512sums=" -b54fc2e7cc0ccb458a4f93a304a4fc03416f42604b4782571be940cf32da58d5b65c8b65f552e04d3b0b6bbc25b5604922f1a8c4b87a8d9e7f4a83b6c7a30baf github-cli-2.2.0-2.2.0.tar.gz +f8936b4a702698ba49b8d1e6b88c5e0212eed380a1359be0158b4588d33300ce7b411eb79c4776c8c0a5a5ad3262ff4b14c94c69e9ea35df41ec51820f9975fa github-cli-2.47.0.tar.gz +0936eb6627c933dc87dad92d339ad29f1d5b6667560481c0272bfbc2cf7ed11ff35a0880479aac8e581b5621a1c495024a81d892ff5fadbcb7729ce577898a5b fix-attestation-cmd-offline-unit-test-failure.patch +57be81e57c0bb5c36e07b6ff2aab661f1a9cd0bbab3ef159c24d59098451858c44fce09d2f5eb86380044568a6acc46ed65b56a87f5a3dc4057d5579e8f420aa no-ignore-goflags.patch " |