void-packages/srcpkgs/chroma/template

24 lines
584 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.6.6
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 <vision360.daniel@gmail.com>"
license="MIT"
homepage="https://github.com/alecthomas/chroma"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=87c64941500c9433ef481f2c54155f892ac8bd3c18b3247fc9d9785a8d4f5c10
do_check() {
go test -v
}
post_install() {
vlicense COPYING
vdoc README.md
}