vp-build/srcpkgs/chroma/template

20 lines
558 B
Bash

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