diff --git a/srcpkgs/yazi/template b/srcpkgs/yazi/template index 8181462f51b9a5..e6204c8b93b10b 100644 --- a/srcpkgs/yazi/template +++ b/srcpkgs/yazi/template @@ -1,7 +1,7 @@ # Template file for 'yazi' pkgname=yazi -version=26.1.22 -revision=2 +version=26.5.6 +revision=1 build_style=cargo hostmakedepends="pkg-config" makedepends="oniguruma-devel lua54-devel" @@ -10,14 +10,20 @@ short_desc="Blazing fast terminal file manager, based on async I/O" maintainer="Bnyro " license="MIT" homepage="https://yazi-rs.github.io" -changelog="https://github.com/sxyazi/yazi/releases" +changelog="https://raw.githubusercontent.com/sxyazi/yazi/refs/heads/main/CHANGELOG.md" distfiles="https://github.com/sxyazi/yazi/archive/refs/tags/v${version}.tar.gz" -checksum=83b8a1bf166bfcb54b44b966fa3f34afa7c55584bf81d29275a1cdd99d1c9c4c +checksum=a18445df86a20068f7b17609d12d6f635de488958579ae7a2b143a244ba7e63f export VERGEN_GIT_SHA="${version}_${revision}" # enable the generation of shell auto completions export YAZI_GEN_COMPLETIONS=true +post_patch() { + # Yazi uses the mlua crate pinned to using lua55, which is not yet packaged + # hence we downgrade to the lua54 feature, as lua54-devel is packaged + vsed -i 's/lua55/lua54/g' Cargo.toml +} + do_install() { vbin target/${RUST_TARGET}/release/yazi vbin target/${RUST_TARGET}/release/ya