void-packages/srcpkgs/bottom/template
UsernameRandomlyGenerated e141d1f547 bottom: update to 0.6.5.
2021-12-22 19:13:21 +01:00

25 lines
928 B
Bash

# Template file for 'bottom'
pkgname=bottom
version=0.6.5
revision=1
build_style=cargo
short_desc="Yet another cross-platform graphical process/system monitor"
maintainer="Neel Chotai <neel@chot.ai>"
license="MIT"
homepage="https://github.com/ClementTsang/bottom"
changelog="https://raw.githubusercontent.com/ClementTsang/bottom/master/CHANGELOG.md"
distfiles="https://github.com/ClementTsang/bottom/archive/${version}.tar.gz"
checksum=78f4acc30ce55c103c59f1a66d2360e6f68be3529fa8e0b2a6c707e8b6b1ba30
post_install() {
vdoc README.md
vlicense LICENSE
# Completions are hidden deep the build tree
bash_completion=$(find ${wrksrc}/target -name btm.bash -print -quit)
vcompletion ${bash_completion} bash btm
fish_completion=$(find ${wrksrc}/target -name btm.fish -print -quit)
vcompletion ${fish_completion} fish btm
zsh_completion=$(find ${wrksrc}/target -name _btm -print -quit)
vcompletion ${zsh_completion} zsh btm
}