void-packages/srcpkgs/chroma/template
2019-11-25 21:36:54 +01:00

23 lines
595 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.7.0
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://github.com/alecthomas/chroma/archive/v${version}.tar.gz"
checksum=845c2fa532ec6dcc77e4e0c659def1b4724fd6bd15bb935b779970667fb40cd3
do_check() {
go test -v
}
post_install() {
vlicense COPYING
vdoc README.md
}