From 3a407586d7294171292e17903d6e36846ed14efc Mon Sep 17 00:00:00 2001 From: Bnyro Date: Thu, 26 Oct 2023 17:16:06 +0200 Subject: [PATCH] New package: yazi-0.2.1 --- srcpkgs/yazi/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/yazi/template diff --git a/srcpkgs/yazi/template b/srcpkgs/yazi/template new file mode 100644 index 0000000000000..fde7b6687541d --- /dev/null +++ b/srcpkgs/yazi/template @@ -0,0 +1,26 @@ +# Template file for 'yazi' +pkgname=yazi +version=0.2.1 +revision=1 +build_style=cargo +make_install_args="--path yazi-fm" +hostmakedepends="pkg-config" +makedepends="oniguruma-devel lua54-devel" +depends="nerd-fonts-symbols-ttf" +short_desc="Blazing fast terminal file manager written in Rust, based on async I/O" +maintainer="Bnyro " +license="MIT" +homepage="https://yazi-rs.github.io" +distfiles="https://github.com/sxyazi/yazi/archive/refs/tags/v${version}.tar.gz" +checksum=c821979b1ae08e7bcf2936635bfcd25715e74f240a6c4a2dbeb4ba9ce0d8be8b + +export VERGEN_GIT_SHA="${version}_${revision}" +# enable the generation of shell auto completions +export YAZI_GEN_COMPLETIONS=true + +post_install() { + vcompletion yazi-config/completions/yazi.bash bash + vcompletion yazi-config/completions/yazi.fish fish + vcompletion yazi-config/completions/_yazi zsh + vlicense LICENSE +}