# Template file for 'glow' pkgname=glow version=2.1.0 revision=1 build_style=go go_import_path=github.com/charmbracelet/glow/v2 go_ldflags="-X main.Version=${version}" short_desc="Render markdown on the CLI, with pizzazz" maintainer="klardotsh " license="MIT" homepage="https://github.com/charmbracelet/glow" distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz" checksum=f1875a73ed81e5d8e6c81443e9a9d18bd9d1489c563c9fa2ff5425f2f8e2af6f post_install() { for shell in bash fish zsh; do CGO_ENABLED=0 GOARCH= go run . completion ${shell} > glow.${shell} vcompletion glow.${shell} ${shell} done CGO_ENABLED=0 GOARCH= go run . man > glow.1 vman glow.1 vlicense LICENSE }