void-packages/srcpkgs/hcloud/template
2021-07-12 22:36:13 -03:00

20 lines
650 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.25.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/internal/version.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=da5ac8d2b2f54acb56cfc68a37120f7e2171ee25a9fdd07445608436e0790593
post_install() {
vlicense LICENSE
vdoc README.md
}