From fad73b1f745bb2d82d4d727d2abb448adac2e4bd 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.4 --- srcpkgs/yazi/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/yazi/template diff --git a/srcpkgs/yazi/template b/srcpkgs/yazi/template new file mode 100644 index 00000000000000..8683cbc5f25f0f --- /dev/null +++ b/srcpkgs/yazi/template @@ -0,0 +1,27 @@ +# Template file for 'yazi' +pkgname=yazi +version=0.2.4 +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=ded7c95f1c80301ba3c9f64443b840ef3607ed3782330aa3140269f31788d864 + +export VERGEN_GIT_SHA="${version}_${revision}" +# enable the generation of shell auto completions +export YAZI_GEN_COMPLETIONS=true + +post_install() { + vcompletion yazi-boot/completions/yazi.bash bash + vcompletion yazi-boot/completions/yazi.fish fish + vcompletion yazi-boot/completions/_yazi zsh + vinstall assets/yazi.desktop 644 /usr/share/applications + vlicense LICENSE +}