mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
glow: update to 1.5.0.
This commit is contained in:
parent
b7b858db31
commit
4e7eea6a71
1 changed files with 9 additions and 3 deletions
|
@ -1,16 +1,22 @@
|
||||||
# Template file for 'glow'
|
# Template file for 'glow'
|
||||||
pkgname=glow
|
pkgname=glow
|
||||||
version=1.4.1
|
version=1.5.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/charmbracelet/glow
|
go_import_path=github.com/charmbracelet/glow
|
||||||
|
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/v${version}.tar.gz"
|
distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=ff6dfd7568f0bac5144ffa3a429ed956dcbdb531487ef6e38ac61365322c9601
|
checksum=66f2a876eba15d71cfd08b56667fb07e1d49d383aa17d31696a39e794e23ba92
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
for shell in bash fish zsh; do
|
||||||
|
CGO_ENABLED=0 GOARCH= go run . completion ${shell} > glow.${shell}
|
||||||
|
vcompletion glow.${shell} ${shell}
|
||||||
|
done
|
||||||
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue