void-packages/srcpkgs/caddy/template

24 lines
649 B
Bash

# Template file for 'caddy'
pkgname=caddy
version=1.0.3
revision=1
build_style=go
go_import_path=github.com/caddyserver/caddy
go_package="${go_import_path}/caddy"
hostmakedepends="git"
short_desc="Fast, cross-platform HTTP/2 web server with automatic HTTPS"
maintainer="Dominic Monroe <monroef4@googlemail.com>"
license="Apache-2.0"
homepage="https://caddyserver.com"
distfiles="https://github.com/caddyserver/caddy/archive/v${version}.tar.gz"
checksum=c1c7b337a5008d28c1956fd4f057104a78d0e24b74c30867cea988369b61fed3
system_accounts="caddy"
make_dirs="
/etc/caddy 0700 caddy caddy
/var/lib/caddy 0700 caddy caddy"
post_install() {
vsv caddy
}