22 lines
744 B
Bash
22 lines
744 B
Bash
# Template file for 'vault-acme'
|
|
pkgname=vault-acme
|
|
version=0.0.9
|
|
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="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=e1c8a3ef30ece81670f3e2a084fe3298433f7ad10fbb3aa531331a4a943a3e06
|
|
|
|
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
|
|
}
|