chroma: update to 0.9.4.

This commit is contained in:
Daniel Lewan 2021-10-17 11:15:28 +02:00 committed by Érico Nogueira Rolim
parent 17b5a80eec
commit 28edda78d1

View file

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