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