From ef269c535ccf2e03b19798c6412e6244365dd060 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Sun, 17 Oct 2021 11:15:28 +0200 Subject: [PATCH] chroma: update to 0.9.4. --- srcpkgs/chroma/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/chroma/template b/srcpkgs/chroma/template index 7fe912bf90a6..c4d778bf49a2 100644 --- a/srcpkgs/chroma/template +++ b/srcpkgs/chroma/template @@ -1,10 +1,10 @@ # Template file for 'chroma' pkgname=chroma -version=0.9.2 +version=0.9.4 revision=1 +build_wrksrc="cmd/chroma" build_style=go -go_import_path="github.com/alecthomas/${pkgname}" -go_package="${go_import_path}/cmd/chroma" +go_import_path="github.com/alecthomas/chroma/cmd/chroma" go_ldflags="-X main.version=${version} -X main.date=$(date +%Y.%m.%d)" hostmakedepends="git" short_desc="General purpose syntax highlighter" @@ -12,13 +12,13 @@ maintainer="Daniel Lewan " license="MIT" homepage="https://github.com/alecthomas/chroma" distfiles="https://github.com/alecthomas/chroma/archive/v${version}.tar.gz" -checksum=a669dcfd1f53c36fd952e290ed19371f60fa4905a9abdedf9e4d70a38b0e61f8 +checksum=c13f99b0ce34cecfaaea448ad134e6293b316128a6b0f67af5e70cc6525f1b6e do_check() { go test -v } post_install() { - vlicense COPYING - vdoc README.md + vlicense ../../COPYING + vdoc ../../README.md }