-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
26 lines (23 loc) · 833 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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
}