void-packages/srcpkgs/scaleway-cli/template

20 lines
636 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.5.1
revision=2
build_style=go
go_import_path=github.com/scaleway/scaleway-cli
go_package=github.com/scaleway/scaleway-cli/cmd/scw
go_ldflags="-X main.Version=$version-$revision"
short_desc="Interact with the Scaleway API from the command line"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/scaleway/scaleway-cli"
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
checksum=af926168122c192b10a19d701f2a03a41f14897b2a6c654499203edd2aafcafe
post_install() {
vdoc README.md README
vlicense LICENSE
}