vp-build/srcpkgs/hcloud/template
2018-10-17 18:22:05 +02:00

22 lines
654 B
Bash

# Template file for 'hcloud'
pkgname=hcloud
version=1.9.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}"
short_desc="Command-line interface for Hetzner Cloud"
hostmakedepends="git"
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=9e74390b075ec4b935cbe5cef415e5280c53f7026973787ee69006cd5fcc9170
post_install() {
vlicense LICENSE
vdoc README.md
}