diff --git a/srcpkgs/scaleway-cli/template b/srcpkgs/scaleway-cli/template new file mode 100644 index 00000000000..10c63b18328 --- /dev/null +++ b/srcpkgs/scaleway-cli/template @@ -0,0 +1,20 @@ +# Template file for 'scaleway-cli' +pkgname=scaleway-cli +version=1.7.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 " +license="MIT" +homepage="https://github.com/scaleway/scaleway-cli" +distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz" +checksum=d63701546806cce3cf68f180b32ae5e0f52e9cf239cf8c2565b29c30c7b300f1 + +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 +}