30 lines
980 B
Bash
30 lines
980 B
Bash
# Template file for 'bottom'
|
|
pkgname=bottom
|
|
version=0.10.1
|
|
revision=1
|
|
build_style=cargo
|
|
short_desc="Yet another cross-platform graphical process/system monitor"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
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=c0e507cc3a5246e65521e91391410efc605840abe3b40194c5769265051fa1cc
|
|
|
|
pre_build() {
|
|
export BTM_GENERATE=true
|
|
}
|
|
|
|
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
|
|
}
|