void-packages/srcpkgs/chroma/template

20 lines
558 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.4.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=dac48b59829eedda44185820d5fc0aedba55b984a34d54919d558781f7f22ba7
post_install() {
vlicense COPYING
vdoc README.md
}