25 lines
669 B
Bash
25 lines
669 B
Bash
# Template file for 'chroma'
|
|
pkgname=chroma
|
|
version=0.9.4
|
|
revision=1
|
|
build_wrksrc="cmd/chroma"
|
|
build_style=go
|
|
go_import_path="github.com/alecthomas/chroma/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=c13f99b0ce34cecfaaea448ad134e6293b316128a6b0f67af5e70cc6525f1b6e
|
|
|
|
do_check() {
|
|
go test -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../../COPYING
|
|
vdoc ../../README.md
|
|
}
|