vp-build/srcpkgs/scaleway-cli/template

21 lines
756 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=1.19
revision=1
build_style=go
go_import_path=github.com/scaleway/scaleway-cli
go_package=github.com/scaleway/scaleway-cli/cmd/scw
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=307bb2a67cd8b8a7fb58524dfe3f65bbba476496c051e289e76f11d0508a0ab7
post_install() {
vinstall contrib/completion/bash/scw.bash 0644 usr/share/bash-completion/completions
vinstall contrib/completion/zsh/_scw 0644 usr/share/zsh/site-functions
vdoc README.md README
vlicense LICENSE.md LICENSE
}