void-packages/srcpkgs/hcloud/template
2020-02-25 18:27:03 +01:00

21 lines
655 B
Bash

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