From 03fb6ed4c866c33c016c1b0b3e9132a11bdf7159 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Thu, 9 Jan 2020 22:23:00 +0100 Subject: [PATCH] chroma: update to 0.7.1. --- srcpkgs/chroma/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/chroma/template b/srcpkgs/chroma/template index 4a742a1efff..50bef6f6458 100644 --- a/srcpkgs/chroma/template +++ b/srcpkgs/chroma/template @@ -1,17 +1,18 @@ # Template file for 'chroma' pkgname=chroma -version=0.7.0 +version=0.7.1 revision=1 build_style=go go_import_path="github.com/alecthomas/${pkgname}" go_package="${go_import_path}/cmd/chroma" +go_ldflags="-X main.version=${version} -X main.date=$(date +%Y.%m.%d)" hostmakedepends="git" short_desc="General purpose syntax highlighter" maintainer="Daniel Lewan " license="MIT" homepage="https://github.com/alecthomas/chroma" distfiles="https://github.com/alecthomas/chroma/archive/v${version}.tar.gz" -checksum=845c2fa532ec6dcc77e4e0c659def1b4724fd6bd15bb935b779970667fb40cd3 +checksum=962d3f29a445b07ad86bb596f447d9dd572da5073ac99c10eef4066580aa1d26 do_check() { go test -v