Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions srcpkgs/yazi/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -10,14 +10,20 @@ short_desc="Blazing fast terminal file manager, based on async I/O"
maintainer="Bnyro <bnyro@tutanota.com>"
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
Expand Down
Loading