void-packages/srcpkgs/chroma/template

24 lines
595 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.6.7
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=ac23e6b649929d093f2ad163629bc5f30b293ddf4d48d20824f97a512186dcb1
do_check() {
go test -v
}
post_install() {
vlicense COPYING
vdoc README.md
}