void-packages/srcpkgs/scaleway-cli/template

20 lines
640 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.12.0
revision=2
build_style=go
go_import_path=github.com/scaleway/scaleway-cli
go_package=github.com/scaleway/scaleway-cli/v2/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=6bd8689b9427dc1a1c27099e26e24bf79fda374f058eea84ff8af7e37ae5511a
post_install() {
vdoc README.md README
vlicense LICENSE
}