New package: gum-0.10.0
This commit is contained in:
parent
0b3df4ae60
commit
f63b537cdd
1 changed files with 26 additions and 0 deletions
26
srcpkgs/gum/template
Normal file
26
srcpkgs/gum/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'gum'
|
||||||
|
pkgname=gum
|
||||||
|
version=0.10.0
|
||||||
|
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 <zen@osowoso.xyz>"
|
||||||
|
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=6084bd89fdb51bbe58ef2a576e81f7d66471a48acc4d8aae41deff5cbb41a2ab
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue