void-packages/srcpkgs/vault/template
2018-12-06 14:32:38 +01:00

21 lines
624 B
Bash

# Template file for 'vault'
pkgname=vault
version=1.0.0
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
conf_files="/etc/vault.hcl"
make_dirs="/var/lib/vault 0700 _vault _vault"
short_desc="Tool for securely accessing secrets"
maintainer="iaroki <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.vaultproject.io/"
distfiles="https://github.com/hashicorp/${pkgname}/archive/v${version}.tar.gz"
checksum=5f7edef332b622d6b9897bf252e27251178e7f0f4745cfb27e2179e72d5a769b
system_accounts="_vault"
post_install() {
vinstall ${FILESDIR}/vault.hcl 644 etc/
vlicense LICENSE
vsv vault
}