void-packages/srcpkgs/scaleway-cli/template

23 lines
712 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.34.0
revision=1
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="Sébastien Pondichy <sebastien.pondichy@gmail.com>"
license="MIT"
homepage="https://github.com/scaleway/scaleway-cli"
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
checksum=ed2c62cffa0a68a4ed973a405eb190e42eb5a1aa3d021ad3729b1301f5646d70
# Skip tests as they fail if SHELL=/bin/sh
make_check="no"
post_install() {
vdoc README.md README
vlicense LICENSE
}