void-packages/srcpkgs/hcloud/template
2018-09-08 00:08:10 -03:00

20 lines
626 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.7.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="Orphaned <orphan@voidlinux.eu>"
license="MIT"
homepage="https://github.com/hetznercloud/cli"
distfiles="https://github.com/hetznercloud/cli/archive/v${version}.tar.gz"
checksum=e48ca7f56ba8ffb70c1a14d1c20552f54c9b224f96b42d95230974fd63625838
post_install() {
vlicense LICENSE
vdoc README.md
}