void-packages/srcpkgs/vault/template
2020-10-18 18:56:08 -07:00

24 lines
770 B
Bash

# Template file for 'vault'
pkgname=vault
version=1.5.4
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
go_build_tags="release"
_git_commit=e16495da552c996068e05574cddf69875199f949
go_ldflags="-X ${go_import_path}/sdk/version.GitCommit=${_git_commit}"
hostmakedepends="git"
short_desc="Manage Secrets and Protect Sensitive Data"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.vaultproject.io/"
distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
checksum=99e3145a9b6f5ee6429b997f3e1f35f648d07c617ff6aef7041f91fcf34e1582
system_accounts="_vault"
make_dirs="/var/lib/vault 0700 _vault _vault
/etc/vault 0700 root root"
post_install() {
vlicense LICENSE
vsv vault
}