void-packages/srcpkgs/goatcounter/template

23 lines
737 B
Bash

# Template file for 'goatcounter'
pkgname=goatcounter
version=2.2.3
revision=1
build_style=go
go_import_path=zgo.at/goatcounter/v2
go_package="${go_import_path}/cmd/goatcounter"
go_ldflags="-X zgo.at/goatcounter.Version=${version}"
depends="tzdata"
short_desc="Easy web analytics without tracking of personal data"
maintainer="Martin Tournoij <martin@arp242.net>"
license="EUPL-1.2"
homepage="https://www.goatcounter.com/"
distfiles="https://github.com/zgoat/goatcounter/archive/v${version}.tar.gz"
checksum=5b3b07afda42752d7c9600a8671bbb30e70a98c656505eda99a4e67b309a94fc
system_accounts="_goatcounter"
make_dirs="/var/db/goatcounter 0750 _goatcounter _goatcounter"
post_install() {
vsv goatcounter
vdoc $FILESDIR/README.voidlinux
}