yazi: update to 0.3.3, fix missing ya binary

This commit is contained in:
Bnyro 2024-09-11 11:14:33 +02:00 committed by tranzystorekk
parent b451abd5e8
commit 56936b702c
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,8 @@
# Template file for 'yazi'
pkgname=yazi
version=0.3.2
version=0.3.3
revision=1
build_style=cargo
make_install_args="--path yazi-fm"
hostmakedepends="pkg-config"
makedepends="oniguruma-devel lua54-devel"
depends="nerd-fonts-symbols-ttf"
@ -13,13 +12,15 @@ license="MIT"
homepage="https://yazi-rs.github.io"
changelog="https://github.com/sxyazi/yazi/releases"
distfiles="https://github.com/sxyazi/yazi/archive/refs/tags/v${version}.tar.gz"
checksum=6aec4ed553670a47b3e5b34c161bb4356b1ebfac084b7354cd26052a81f971a4
checksum=fe2a458808334fe20eff1ab0145c78d684d8736c9715e4c51bce54038607dc4e
export VERGEN_GIT_SHA="${version}_${revision}"
# enable the generation of shell auto completions
export YAZI_GEN_COMPLETIONS=true
post_install() {
do_install() {
vbin target/${RUST_TARGET}/release/yazi
vbin target/${RUST_TARGET}/release/ya
vcompletion yazi-boot/completions/yazi.bash bash
vcompletion yazi-boot/completions/yazi.fish fish
vcompletion yazi-boot/completions/_yazi zsh