void-packages/srcpkgs/chroma/template

20 lines
558 B
Bash

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