void-packages/srcpkgs/procs/template

27 lines
833 B
Bash

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