25 lines
871 B
Bash
25 lines
871 B
Bash
# Template file for 'scaleway-cli'
|
|
pkgname=scaleway-cli
|
|
version=1.20
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/scaleway/scaleway-cli"
|
|
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
|
|
checksum=4c50725be7bebdab17b8ef77acd230525e773631fef4051979f8ff91c86bebf8
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc*) broken="github.com/creack/goselect/fdset.go:14:14: undefined: NFDBITS"
|
|
esac
|
|
|
|
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
|
|
}
|