void-packages/srcpkgs/hcloud/template
2018-05-28 10:33:45 +00:00

20 lines
629 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.5.0
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="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://github.com/hetznercloud/cli"
distfiles="https://github.com/hetznercloud/cli/archive/v${version}.tar.gz"
checksum=cc09f03c6a776a086ee9219e9ee70749e2ef5cda6171dd042cb1c623cccd6dfa
post_install() {
vlicense LICENSE
vdoc README.md
}