void-packages/srcpkgs/hcloud/template

22 lines
655 B
Bash

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