void-packages/srcpkgs/goatcounter/template
Martin Tournoij 86175368da goatcounter: update to 2.0.0
This also correctly sets the version so that "goatcounter version" shows the
expected result instead of just "dev", and adds a dependency on tzdata.

I've also taken the liberty of setting myself as the maintainer; I'm the
upstream author and a Void user as well. I accidentally discovered there's a
Void package last week when doing some license analysis on void-packages 😅
The current 1.2.0 is pretty outdated, so I don't expect @anjandev will mind?

Fixes: #22087
2021-03-29 23:41:20 -05:00

15 lines
570 B
Bash

# Template file for 'goatcounter'
pkgname=goatcounter
version=2.0.0
revision=1
build_style=go
go_import_path=zgo.at/goatcounter
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=bca27f65a302482ae018e9d7c5449c4e91aec11a4eea2f62cfe2ed8743a9b241