void-packages/srcpkgs/scaleway-cli/template

20 lines
633 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.32.1
revision=2
build_style=go
go_import_path=github.com/scaleway/scaleway-cli/v2
go_package=github.com/scaleway/scaleway-cli/v2/cmd/scw
go_ldflags="-X main.Version=$version"
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=4b2bfe7b39dcb259f27d5e4eaae4ffc55f31fb9cf6ff1869c7783c5d75c66eb6
post_install() {
vdoc README.md README
vlicense LICENSE
}