void-packages/srcpkgs/vault-acme/template
2021-08-14 15:51:43 -05:00

20 lines
686 B
Bash

# Template file for 'vault-acme'
pkgname=vault-acme
version=0.0.8
revision=1
build_style=go
go_import_path=github.com/remilapeyre/vault-acme
go_package="$go_import_path/cmd/acme $go_import_path/cmd/sidecar"
depends="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() {
mv $DESTDIR/usr/bin/{acme,vault-acme}
mv $DESTDIR/usr/bin/{sidecar,vault-acme-sidecar}
vlicense LICENSE
}