void-packages/srcpkgs/chroma/template

20 lines
547 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.3.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://${go_import_path}"
checksum=c48ce658a25f3422b4c493d769b823b2eb5ce9c19748ccff304bad4099ee54f3
post_install() {
vlicense COPYING
vdoc README.md
}