aboutsummaryrefslogtreecommitdiffstats
path: root/community/hcloud/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/hcloud/APKBUILD')
-rw-r--r--community/hcloud/APKBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/community/hcloud/APKBUILD b/community/hcloud/APKBUILD
index 7ba4556b04..d76e5e27db 100644
--- a/community/hcloud/APKBUILD
+++ b/community/hcloud/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=hcloud
_pkgname=cli
-pkgver=1.20.0
-pkgrel=0
+pkgver=1.23.0
+pkgrel=1
pkgdesc="Command-line interface for Hetzner Cloud"
url="https://github.com/hetznercloud/cli"
-options="chmod-clean"
-license="MIT"
arch="all"
+license="MIT"
+options="chmod-clean"
makedepends="go"
subpackages="$pkgname-bash-completion"
-source="$_pkgname-$pkgver.tar.gz::https://github.com/hetznercloud/cli/archive/v$pkgver.tar.gz"
+source="https://github.com/hetznercloud/cli/archive/v$pkgver/hcloud-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
export GOPATH="$srcdir"
@@ -30,14 +30,11 @@ check() {
}
package() {
- install -Dm755 "$builddir"/hcloud "$pkgdir"/usr/bin/$pkgname
- install -Dm644 "$builddir"/$pkgname.bash \
+ install -Dm755 hcloud "$pkgdir"/usr/bin/hcloud
+ install -Dm644 $pkgname.bash \
"$pkgdir"/usr/share/bash-completion/completions/$pkgname
}
-cleanup_srcdir() {
- go clean -modcache
- default_cleanup_srcdir
-}
-
-sha512sums="03e302597690b5c79233841f90a567126651273ffb470207568fdfd568db89c46993e9a09b2d33a63d8d739ec633b2ff4e5b91445ddf41c79b8f4129bc958137 cli-1.20.0.tar.gz"
+sha512sums="
+d8acebaff9a67458b94caabaecfb116c54fd44c5666d9d48ff29775c635e3f797c4d098430ac77f80e4132716230cd4070c5ad96baa366ea6d2b8f108ed43c6d hcloud-1.23.0.tar.gz
+"