void-packages/srcpkgs/vault-acme/template

22 lines
744 B
Bash

# Template file for 'vault-acme'
pkgname=vault-acme
version=0.0.8
revision=6
build_style=go
go_import_path=github.com/remilapeyre/vault-acme
go_package="$go_import_path/cmd/acme $go_import_path/cmd/sidecar"
depends="libcap-progs vault"
short_desc="ACME backend for Hashicorp Vault"
maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
license="MPL-2.0"
homepage="https://github.com/remilapeyre/vault-acme"
distfiles="https://github.com/remilapeyre/vault-acme/archive/refs/tags/v$version.tar.gz"
checksum=e09147df00109c68cc30e6943f50f2cad5a1b5be8b54ddc8cf007b5dea750ca4
post_install() {
vmkdir usr/libexec/vault
mv $DESTDIR/usr/bin/acme $DESTDIR/usr/libexec/vault/acme
mv $DESTDIR/usr/bin/{sidecar,vault-acme-sidecar}
vlicense LICENSE
}