void-packages/srcpkgs/scaleway-cli/template
2017-04-07 19:10:23 +00:00

20 lines
755 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=1.12
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="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=7a23ef6960fe280dd19f8e2e9b0fff6ffaf4b8446ddc7833b530901875652e2e
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
}