27 lines
791 B
Bash
27 lines
791 B
Bash
# Template file for 'gum'
|
|
pkgname=gum
|
|
version=0.14.5
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_import_path="github.com/charmbracelet/gum"
|
|
go_ldflags="-X main.Version=${version}"
|
|
short_desc="Tool for glamorous shell scripts"
|
|
maintainer="zenobit <zenobit@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/charmbracelet/gum"
|
|
changelog="https://github.com/charmbracelet/gum/releases"
|
|
distfiles="https://github.com/charmbracelet/gum/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=b2c8101bb6f93acba420808df65b3f9acfe8cc9de283c1d9d94311123f43f271
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/gum completion $shell > gum.${shell}
|
|
vcompletion gum.${shell} $shell
|
|
done
|
|
vtargetrun ${DESTDIR}/usr/bin/gum man > gum.1
|
|
vman gum.1
|
|
}
|