void-packages/srcpkgs/hcloud/template

21 lines
650 B
Bash

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