20 lines
614 B
Bash
20 lines
614 B
Bash
# Template file for 'chroma'
|
|
pkgname=chroma
|
|
version=2.14.0
|
|
revision=2
|
|
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 <daniel@teddydd.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/alecthomas/chroma"
|
|
distfiles="https://github.com/alecthomas/chroma/archive/v${version}.tar.gz"
|
|
checksum=beff1d23ee8343c66f62aa30f1f18da5813018dcdff147f3ac4bdd734a908821
|
|
|
|
post_install() {
|
|
vlicense ../../COPYING
|
|
vdoc ../../README.md
|
|
}
|