27 lines
833 B
Bash
27 lines
833 B
Bash
# Template file for 'procs'
|
|
pkgname=procs
|
|
version=0.14.5
|
|
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=539b88565c775a106063da5cc5148cfdc7e010534f3dbc90cb8f6317d51ca96b
|
|
|
|
post_install() {
|
|
PROCS="${DESTDIR}/usr/bin/procs"
|
|
vtargetrun ${PROCS} --gen-completion-out bash > procs.bash
|
|
vtargetrun ${PROCS} --gen-completion-out fish > procs.fish
|
|
vtargetrun ${PROCS} --gen-completion-out zsh > procs.zsh
|
|
|
|
vcompletion procs.bash bash
|
|
vcompletion procs.fish fish
|
|
vcompletion procs.zsh zsh
|
|
|
|
vlicense LICENSE
|
|
}
|