void-packages/srcpkgs/scaleway-cli/template
2016-03-29 11:39:19 +02:00

20 lines
756 B
Bash

# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=1.8.1
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=3ce87ab2a127f0bf308ffa8c563074ea1395e5084459c7dca18aedc1e7c80379
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
}