void-packages/srcpkgs/acme-client/template

25 lines
857 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=1.3.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config sed"
makedepends="openssl-devel"
checkdepends="nginx curl"
short_desc="Portable version of OpenBSD's acme-client"
maintainer="Emil Miler <em@0x45.cz>"
license="GPL-2.0-only"
homepage="https://git.sr.ht/~graywolf/acme-client-portable/"
changelog="https://git.sr.ht/~graywolf/acme-client-portable/blob/master/NEWS"
distfiles="https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz"
checksum=94c0838ace0265017a630646cdd583f76fd2d724f67040175e54c08a9618c6ba
make_check=no # requires https://github.com/letsencrypt/pebble which isn't packaged
pre_install() {
sed -i 's,/etc/examples/,/usr/share/examples/acme-client/,g' usr.sbin/acme-client/acme-client.conf.5
}
post_install() {
vsconf ${FILESDIR}/acme-client.conf
}