void-packages/srcpkgs/chroma/template

24 lines
595 B
Bash

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