25 lines
666 B
Bash
25 lines
666 B
Bash
# Template file for 'chroma'
|
|
pkgname=chroma
|
|
version=0.7.3
|
|
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=1007e82cc44cea04542c282b19bab25a59cb1e53149aaa7f0e2d9ce72ba80114
|
|
|
|
do_check() {
|
|
go test -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
vdoc README.md
|
|
}
|