From 6794fe6275c323074c8c59db020d3abb68c9f668 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Mon, 29 Feb 2016 16:32:04 +0100 Subject: [PATCH] New package: scaleway-cli-1.7.1 --- srcpkgs/scaleway-cli/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/scaleway-cli/template 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 +}