void-packages/srcpkgs/hcloud/template
2019-11-14 19:03:32 +01:00

21 lines
655 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.14.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}"
hostmakedepends="git"
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=5faecf8a9fb2e7e60a7558444ee89521c710d7c1e22988fd6a86d8b66d88a77f
post_install() {
vlicense LICENSE
vdoc README.md
}