void-packages/srcpkgs/scaleway-cli/template

20 lines
633 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.19.0
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=5b728c364aac9d7b9785d5f6c9f06972d126d9125f719bfa73aa705411256b6e
post_install() {
vdoc README.md README
vlicense LICENSE
}