void-packages/srcpkgs/chroma/template
2020-11-23 02:35:20 -03:00

24 lines
666 B
Bash

# Template file for 'chroma'
pkgname=chroma
version=0.8.2
revision=1
build_style=go
go_import_path="github.com/alecthomas/${pkgname}"
go_package="${go_import_path}/cmd/chroma"
go_ldflags="-X main.version=${version} -X main.date=$(date +%Y.%m.%d)"
hostmakedepends="git"
short_desc="General purpose syntax highlighter"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="MIT"
homepage="https://github.com/alecthomas/chroma"
distfiles="https://github.com/alecthomas/chroma/archive/v${version}.tar.gz"
checksum=b7b9bd2ff49a18127dd00cee0d8e1d262b861b0641f711cbf9c615431f2b9499
do_check() {
go test -v
}
post_install() {
vlicense COPYING
vdoc README.md
}