From 87b4d67b14f193b92c351713e0e49454774e58a1 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Mon, 10 May 2021 13:11:55 +0300 Subject: [PATCH] bottom: update to 0.6.0 Add completions --- srcpkgs/bottom/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/bottom/template b/srcpkgs/bottom/template index 9d5fbd8dbfd0..41ed37e22dd0 100644 --- a/srcpkgs/bottom/template +++ b/srcpkgs/bottom/template @@ -1,6 +1,6 @@ # Template file for 'bottom' pkgname=bottom -version=0.5.7 +version=0.6.0 revision=1 build_style=cargo short_desc="Yet another cross-platform graphical process/system monitor" @@ -8,9 +8,17 @@ maintainer="Neel Chotai " license="MIT" homepage="https://github.com/ClementTsang/bottom" distfiles="https://github.com/ClementTsang/bottom/archive/${version}.tar.gz" -checksum=49e01a2930d913dba2a1329389faddb4b3971a6b0c08f7482d2759475d5cc27c +checksum=3bb446439ff6ce42db2780d03e980767cfafd69e1e6a8605235dcc550fe060a1 post_install() { vdoc README.md vlicense LICENSE + + # Completions are hidden deep the build tree + bash_completion=$(find ${wrksrc}/target -name btm.bash | head -n1) + vcompletion ${bash_completion} bash btm + fish_completion=$(find ${wrksrc}/target -name btm.fish | head -n1) + vcompletion ${fish_completion} fish btm + zsh_completion=$(find ${wrksrc}/target -name _btm | head -n1) + vcompletion ${zsh_completion} zsh btm }