# Template file for 'chroma' pkgname=chroma version=0.6.5 revision=1 build_style=go go_import_path="github.com/alecthomas/${pkgname}" go_package="${go_import_path}/cmd/chroma" hostmakedepends="git" short_desc="General purpose syntax highlighter" maintainer="Daniel Lewan " license="MIT" homepage="https://github.com/alecthomas/chroma" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=92bc5929fcd9d9e4c6261c1e12aa61314211b62ea8813e94fb4b5d3d60450345 do_check() { go test -v } pre_build() { sed -i 's/v1.0.1-0.20190717041731-572a5da3dff8/v1.0.0/' go.mod } post_install() { vlicense COPYING vdoc README.md }