From 41d31e00477234882b75582976e5b59baa6bfb94 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Tue, 30 Mar 2021 12:31:24 +0800 Subject: [PATCH] goatcounter: update to 2.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- srcpkgs/goatcounter/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/goatcounter/template b/srcpkgs/goatcounter/template index ec37becd1d41..01090e13c77d 100644 --- a/srcpkgs/goatcounter/template +++ b/srcpkgs/goatcounter/template @@ -1,13 +1,15 @@ # Template file for 'goatcounter' pkgname=goatcounter -version=1.2.0 +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="Anjandev Momi " +maintainer="Martin Tournoij " license="EUPL-1.2" homepage="https://www.goatcounter.com/" distfiles="https://github.com/zgoat/goatcounter/archive/v${version}.tar.gz" -checksum=505f8c5848bb368e18c0a041fcbeb87f540813a7455d9a67cdce5a5f25d799e7 +checksum=bca27f65a302482ae018e9d7c5449c4e91aec11a4eea2f62cfe2ed8743a9b241