diff options
Diffstat (limited to 'community/hcloud/APKBUILD')
-rw-r--r-- | community/hcloud/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/hcloud/APKBUILD b/community/hcloud/APKBUILD index ef6040844e7..5e956966898 100644 --- a/community/hcloud/APKBUILD +++ b/community/hcloud/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michał Polański <michal@polanski.me> # Maintainer: Michał Polański <michal@polanski.me> pkgname=hcloud -pkgver=1.30.0 -pkgrel=1 +pkgver=1.38.3 +pkgrel=4 pkgdesc="Command-line interface for Hetzner Cloud" url="https://github.com/hetznercloud/cli" license="MIT" @@ -16,9 +16,9 @@ subpackages=" source="https://github.com/hetznercloud/cli/archive/v$pkgver/hcloud-$pkgver.tar.gz" builddir="$srcdir/cli-$pkgver" -export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw" -export GOPATH="$srcdir" -export CGO_ENABLED=0 +export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" +export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" +export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build \ @@ -36,13 +36,13 @@ check() { } package() { - install -Dm755 hcloud "$pkgdir"/usr/bin/hcloud + install -Dm755 hcloud -t "$pkgdir"/usr/bin/ install -Dm644 $pkgname.bash "$pkgdir"/usr/share/bash-completion/completions/$pkgname - install -Dm644 $pkgname.fish "$pkgdir"/usr/share/fish/completions/$pkgname.fish + install -Dm644 $pkgname.fish "$pkgdir"/usr/share/fish/vendor_completions.d/$pkgname.fish install -Dm644 $pkgname.zsh "$pkgdir"/usr/share/zsh/site-functions/_$pkgname } sha512sums=" -97a5a560c15cbb5f7db50f87fc387d2c35912909f6fcdf8004a3826b418c37d255b1ddcdc4d1829f2e00166e4f22a525915d70f8d927cd7d35386d8303fff4e2 hcloud-1.30.0.tar.gz +60a1b12bd3644c32e978cb93e487a3e468e269c970308eb41a4515bab59522be6a0684829d133bca4892bc4300179de5b83e8846034ea842b0c1ee87d61dcd43 hcloud-1.38.3.tar.gz " |