void-packages/srcpkgs/goatcounter/template

24 lines
825 B
Bash

# Template file for 'goatcounter'
pkgname=goatcounter
version=2.3.0
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=4caa1478b1b2de74feae2f3f06b8847018cc53548a2f5f04176b362f08503213
system_accounts="_goatcounter"
make_dirs="/var/db/goatcounter 0750 _goatcounter _goatcounter"
post_install() {
vsv goatcounter
vdoc $FILESDIR/README.voidlinux
}