void-packages/srcpkgs/procs/template
2021-12-17 05:18:48 -03:00

28 lines
797 B
Bash

# Template file for 'procs'
pkgname=procs
version=0.11.12
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=ff1a293d84cc0160cc92b4530ee93cedf530796e80130df74b0490c3e884efb6
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
}