25 lines
842 B
Bash
25 lines
842 B
Bash
# Template file for 'bottom'
|
|
pkgname=bottom
|
|
version=0.6.2
|
|
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"
|
|
distfiles="https://github.com/ClementTsang/bottom/archive/${version}.tar.gz"
|
|
checksum=026fd40f8a9ed7cebff4f4b0703b6ba9386b7818eff4d0c5bff7f1f754eb8f52
|
|
|
|
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
|
|
}
|