From 73c8004ef08aa47abe2004095050322ad098765f Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Wed, 6 Jul 2022 21:08:21 +0200 Subject: [PATCH] lsd: update to 0.22.0 and adopt --- srcpkgs/lsd/template | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/srcpkgs/lsd/template b/srcpkgs/lsd/template index 40af9eef7652..22c093f4375e 100644 --- a/srcpkgs/lsd/template +++ b/srcpkgs/lsd/template @@ -1,12 +1,21 @@ # Template file for 'lsd' pkgname=lsd -version=0.20.1 +version=0.22.0 revision=1 build_style=cargo short_desc="Next gen ls command with lots of pretty colors and awesome icons" -maintainer="Orphaned " +maintainer="Marcin Puc " license="Apache-2.0" homepage="https://github.com/Peltoche/lsd" changelog="https://raw.githubusercontent.com/Peltoche/lsd/master/CHANGELOG.md" distfiles="https://github.com/Peltoche/lsd/archive/${version}.tar.gz" -checksum=a2086aa049b8bd21c880f23b21b0e9ef21d3c3829d40641aa8810c08be936c19 +checksum=30ad1b1d014c7b6a2fca44c6de3b17198c84168d34fc946245d67094ebc0f7ed + +export SHELL_COMPLETIONS_DIR="${wrksrc}" + +post_install() { + echo "$PWD" + vcompletion lsd.bash bash + vcompletion lsd.fish fish + vcompletion _lsd zsh +}