From f2d17dd39d20fadf01e72c408e46fc37eb52e051 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 22 Mar 2019 00:21:11 +0100 Subject: [PATCH] syncthing: fix buildin version string Fixes #10133 --- srcpkgs/syncthing/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/syncthing/template b/srcpkgs/syncthing/template index a86809a8218..51e25eaf5bb 100644 --- a/srcpkgs/syncthing/template +++ b/srcpkgs/syncthing/template @@ -1,12 +1,12 @@ # Template file for 'syncthing' pkgname=syncthing version=1.1.0 -revision=1 +revision=2 build_style=go go_import_path="github.com/syncthing/syncthing" go_package="${go_import_path}/cmd/strelaysrv ${go_import_path}/cmd/syncthing" go_build_tags="noupgrade" -go_ldflags="-X main.Version=v${version}" +go_ldflags="-X github.com/syncthing/syncthing/lib/build.Version=v${version}" hostmakedepends="git" short_desc="Open Source Continuous File Synchronization" maintainer="Duncaen "