void-packages/srcpkgs/hcloud/template
Daniel Eyßer 16e0204234 hcloud: update to 1.22.1.
Closes: #30148 [via git-merge-pr]
2021-04-11 21:10:39 -04:00

20 lines
633 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.22.1
revision=1
wrksrc="cli-${version}"
build_style=go
go_import_path=github.com/hetznercloud/cli
go_package=github.com/hetznercloud/cli/cmd/hcloud
go_ldflags="-X github.com/hetznercloud/cli.Version=${version}"
short_desc="Command-line interface for Hetzner Cloud"
maintainer="Gerardo Di Iorio <arete74@gmail.com>"
license="MIT"
homepage="https://github.com/hetznercloud/cli"
distfiles="https://github.com/hetznercloud/cli/archive/v${version}.tar.gz"
checksum=6b43ad74ec243484c7c1dd1d7cb2d6f1231f596a2ea4753bf81087f5b8dcf1c2
post_install() {
vlicense LICENSE
vdoc README.md
}