24 lines
650 B
Bash
24 lines
650 B
Bash
# Template file for 'chroma'
|
|
pkgname=chroma
|
|
version=2.3.0
|
|
revision=1
|
|
build_wrksrc="cmd/chroma"
|
|
build_style=go
|
|
go_import_path="github.com/alecthomas/chroma/v2/cmd/chroma"
|
|
go_ldflags="-X main.version=${version} -X main.date=$(date +%Y.%m.%d)"
|
|
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=1dc319a4b5f584858165900c94aa4cdef03f0f8e7a95fe3a3d0ab04bc0403c8c
|
|
|
|
do_check() {
|
|
go test -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../../COPYING
|
|
vdoc ../../README.md
|
|
}
|