27 lines
833 B
Bash
27 lines
833 B
Bash
# Template file for 'procs'
|
|
pkgname=procs
|
|
version=0.14.1
|
|
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=bb4f9d696081807ca105593092f8acd04ca339ae43fff29e0e820c6fc5e3f9ea
|
|
|
|
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
|
|
}
|