void-packages/srcpkgs/chroma/template

20 lines
558 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.5.0
revision=1
build_style=go
hostmakedepends="git"
go_import_path="github.com/alecthomas/${pkgname}"
go_package="${go_import_path}/cmd/chroma"
short_desc="A general purpose syntax highlighter"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="MIT"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
homepage="https://github.com/alecthomas/chroma"
checksum=6ef69c5aa07cfb697e77ea1f793d0a0cbd52df7e1e0109ae0c91134138a451c5
post_install() {
vlicense COPYING
vdoc README.md
}