From 0a6c679905ffce66acd587eee12f1091da0336b4 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Sat, 23 Oct 2021 15:03:43 -0400 Subject: [PATCH] procs: update to 0.11.10 --- srcpkgs/procs/template | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/srcpkgs/procs/template b/srcpkgs/procs/template index 9e451fc78c82..8da431f119bb 100644 --- a/srcpkgs/procs/template +++ b/srcpkgs/procs/template @@ -1,15 +1,28 @@ # Template file for 'procs' pkgname=procs -version=0.11.8 +version=0.11.10 revision=1 build_style=cargo +build_helper=qemu short_desc="Modern replacement for ps written in Rust" maintainer="travankor " license="MIT" homepage="https://github.com/dalance/procs" -distfiles="https://github.com/dalance/procs/archive/v${version}.tar.gz" -checksum=50ef6175c08a5ce7f65c81924e8f295bab9622b453b51178a8b8c37c3ef2beef +changelog="https://raw.githubusercontent.com/dalance/procs/master/CHANGELOG.md" +distfiles="https://github.com/dalance/procs/archive/refs/tags/v${version}.tar.gz" +checksum=e6a869722181f2122a5a223517a2d1f6505d19b8b9d46ffd59c61fb02f472403 + +post_build() { + PROCS="target/${RUST_TARGET}/release/procs" + vtargetrun ${PROCS} --completion bash > procs.bash + vtargetrun ${PROCS} --completion fish > procs.fish + vtargetrun ${PROCS} --completion zsh > procs.zsh +} post_install() { + vcompletion procs.bash bash + vcompletion procs.fish fish + vcompletion procs.zsh zsh + vlicense LICENSE }