void-packages/srcpkgs/aws-vault/template

22 lines
793 B
Bash

# Template file for 'aws-vault'
pkgname=aws-vault
version=5.4.4
revision=1
build_style=go
go_import_path=github.com/99designs/aws-vault
go_ldflags="-X \"main.Version=${version}\" -s -w"
short_desc="Vault for securely storing and accessing AWS credentials"
maintainer="klardotsh <josh@klar.sh>"
license="MIT"
homepage="https://github.com/99designs/aws-vault"
distfiles="https://github.com/99designs/aws-vault/archive/v${version}${_status}.tar.gz"
checksum=29844e459a3421ae0123b83a3097c15bc2980bf787374c1ade44328cf14fde4e
post_install() {
vlicense LICENSE
vinstall completions/zsh/_aws-vault 0644 usr/share/zsh/site-functions
vinstall completions/bash/aws-vault 0644 usr/share/bash-completion/completions
vinstall completions/fish/aws-vault.fish 0644 usr/share/fish/vendor_completions.d
}