29 lines
846 B
Bash
29 lines
846 B
Bash
# Template file for 'procs'
|
|
pkgname=procs
|
|
version=0.13.3
|
|
revision=1
|
|
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=aa93a588504dcc74df699d8a3bc2a27d3da94a772106a42d3d862a5fd17725c3
|
|
|
|
post_build() {
|
|
PROCS="target/${RUST_TARGET}/release/procs"
|
|
vtargetrun ${PROCS} --completion-out bash >procs.bash
|
|
vtargetrun ${PROCS} --completion-out fish >procs.fish
|
|
vtargetrun ${PROCS} --completion-out zsh >procs.zsh
|
|
}
|
|
|
|
post_install() {
|
|
vcompletion procs.bash bash
|
|
vcompletion procs.fish fish
|
|
vcompletion procs.zsh zsh
|
|
|
|
vlicense LICENSE
|
|
}
|