ccf6000424
Procs prepend generated completion with following string if stdout of procs --completion is redirected to file: completion file is generated: ./procs.bash
28 lines
797 B
Bash
28 lines
797 B
Bash
# Template file for 'procs'
|
|
pkgname=procs
|
|
version=0.11.10
|
|
revision=2
|
|
build_style=cargo
|
|
build_helper=qemu
|
|
short_desc="Modern replacement for ps written in Rust"
|
|
maintainer="travankor <travankor@tuta.io>"
|
|
license="MIT"
|
|
homepage="https://github.com/dalance/procs"
|
|
changelog="https://raw.githubusercontent.com/dalance/procs/master/CHANGELOG.md"
|
|
distfiles="https://github.com/dalance/procs/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=e6a869722181f2122a5a223517a2d1f6505d19b8b9d46ffd59c61fb02f472403
|
|
|
|
post_build() {
|
|
PROCS="target/${RUST_TARGET}/release/procs"
|
|
vtargetrun ${PROCS} --completion bash
|
|
vtargetrun ${PROCS} --completion fish
|
|
vtargetrun ${PROCS} --completion zsh
|
|
}
|
|
|
|
post_install() {
|
|
vcompletion procs.bash bash
|
|
vcompletion procs.fish fish
|
|
vcompletion _procs zsh
|
|
|
|
vlicense LICENSE
|
|
}
|