void-packages/srcpkgs/goatcounter/template

24 lines
825 B
Bash

# Template file for 'goatcounter'
pkgname=goatcounter
version=2.4.1
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/v2.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/"
changelog="https://raw.githubusercontent.com/arp242/goatcounter/master/CHANGELOG.md"
distfiles="https://github.com/zgoat/goatcounter/archive/v${version}.tar.gz"
checksum=c42f2e5d32afeec1310a1e128be2e26b18c69b7627570b87588439b3d13b8455
system_accounts="_goatcounter"
make_dirs="/var/db/goatcounter 0750 _goatcounter _goatcounter"
post_install() {
vsv goatcounter
vdoc $FILESDIR/README.voidlinux
}