void-packages/srcpkgs/scaleway-cli/template

21 lines
755 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=1.10
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="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://github.com/scaleway/scaleway-cli"
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
checksum=2c8193e411dac83f31b4c2f899cc7b4793380d91c6196c831c4bfd41c47a58ad
post_install() {
vinstall contrib/completion/bash/scw 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
}