void-packages/srcpkgs/chroma/template

24 lines
595 B
Bash

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