void-packages/srcpkgs/scaleway-cli/template

21 lines
761 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=1.17
revision=2
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.eu>"
license="MIT"
homepage="https://github.com/scaleway/scaleway-cli"
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
checksum=8e9bdd72cbc5a9e6f89e61017c8f6f8b070b5dab23d926d9234ef5cd9e014eda
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
}