void-packages/srcpkgs/vault/template

22 lines
624 B
Bash

# Template file for 'vault'
pkgname=vault
version=1.0.3
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=6ece62b75265a963ac70981c529ea82f2383ea4fdef47fdb14953aff22bfff6c
system_accounts="_vault"
post_install() {
vinstall ${FILESDIR}/vault.hcl 644 etc/
vlicense LICENSE
vsv vault
}