mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
glow: update to 2.0.0
This commit is contained in:
parent
09a9e07fc8
commit
572e8be8b9
1 changed files with 7 additions and 4 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'glow'
|
# Template file for 'glow'
|
||||||
pkgname=glow
|
pkgname=glow
|
||||||
version=1.5.1
|
version=2.0.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/charmbracelet/glow
|
go_import_path=github.com/charmbracelet/glow/v2
|
||||||
go_ldflags="-X main.Version=${version}"
|
go_ldflags="-X main.Version=${version}"
|
||||||
short_desc="Render markdown on the CLI, with pizzazz"
|
short_desc="Render markdown on the CLI, with pizzazz"
|
||||||
maintainer="klardotsh <josh@klar.sh>"
|
maintainer="klardotsh <josh@klar.sh>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/charmbracelet/glow"
|
homepage="https://github.com/charmbracelet/glow"
|
||||||
distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=b4ecf269b7c6447e19591b1d23f398ef2b38a6a75be68458390b42d3efc44b92
|
checksum=55872e36c006e7e715b86283baf14add1f85b0a0304e867dd0d80e8d7afe49a8
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
|
@ -18,5 +18,8 @@ post_install() {
|
||||||
vcompletion glow.${shell} ${shell}
|
vcompletion glow.${shell} ${shell}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
CGO_ENABLED=0 GOARCH= go run . man > glow.1
|
||||||
|
vman glow.1
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue