void-packages/srcpkgs/procs/template

27 lines
833 B
Bash

# Template file for 'procs'
pkgname=procs
version=0.14.6
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=3d5cd529c858ca637b166bac908e0d8429c33bdfa9d8db6282f36d5732e4e30a
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
}