vp-build/srcpkgs/acme-client/template

24 lines
796 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=1.3.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config sed"
makedepends="openssl-devel"
checkdepends="nginx curl"
short_desc="Portable version of OpenBSD's acme-client"
maintainer="Lauri Tirkkonen <lauri@hacktheplanet.fi>"
license="GPL-2.0-only"
homepage="https://git.sr.ht/~graywolf/acme-client-portable/"
distfiles="https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz"
checksum=ac8796652393fa73f32dfda60ed3a437fc260867df1b81fa3c241bd95c5bc719
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
}