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'
pkgname=chroma
version=0.9.2
version=0.9.4
revision=1
build_wrksrc="cmd/chroma"
build_style=go
go_import_path="github.com/alecthomas/${pkgname}"
go_package="${go_import_path}/cmd/chroma"
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"
@ -12,13 +12,13 @@ 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=a669dcfd1f53c36fd952e290ed19371f60fa4905a9abdedf9e4d70a38b0e61f8
checksum=c13f99b0ce34cecfaaea448ad134e6293b316128a6b0f67af5e70cc6525f1b6e
do_check() {
go test -v
}
post_install() {
vlicense COPYING
vdoc README.md
vlicense ../../COPYING
vdoc ../../README.md
}