void-packages/srcpkgs/caddy/template
2019-01-17 06:10:03 -02:00

23 lines
634 B
Bash

# Template file for 'caddy'
pkgname=caddy
version=0.11.2
revision=1
build_style=go
go_import_path=github.com/mholt/caddy
go_package="${go_import_path}/caddy"
makedepends="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/mholt/caddy/archive/v${version}.tar.gz"
checksum=61779a09959bf6a0e7007e8ff5c2a94811dd12b7628166cb31e9648a97c0e75b
system_accounts="caddy"
make_dirs="
/etc/caddy 0700 caddy caddy
/var/lib/caddy 0700 caddy caddy"
post_install() {
vsv caddy
}