Update package version to 26.8.15

This commit is contained in:
2026-09-04 15:58:24 +03:00
parent de44eb6c5f
commit 89b3ffba5c
2 changed files with 32 additions and 16 deletions
+16 -12
View File
@@ -1,7 +1,7 @@
name: yazi
description: Blazing fast terminal file manager written in Rust, based on async I/O
version: 26.5.6
revision: 2
version: 26.8.15
revision: 1
url: https://yazi-rs.github.io/
license: MIT
maintainers:
@@ -10,17 +10,21 @@ architecture: any
type: source
depends:
- gcc-libs
- hicolor-icon-theme
- lua
- oniguruma
- nerd-fonts-symbols
optional_depends:
- 7zip
- fd
- ffmpeg
- imagemagick
- jq
- poppler
- ripgrep
- wl-clipboard
- xclip
- 7zip:For archive extraction and preview
- fd:For file searching
- ffmpeg:For video thumbnails
- git:For Yazi package management
- imagemagick:For image and font preview
- jq:For JSON preview
- poppler:For PDF preview
- ripgrep:For file content searching
- wl-clipboard:For Wayland clipboard support
- xclip:For X11 clipboard support
make_depends:
- rustc
- imagemagick
@@ -28,4 +32,4 @@ downloads:
- url: https://github.com/sxyazi/yazi/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: a18445df86a20068f7b17609d12d6f635de488958579ae7a2b143a244ba7e63f
checksum: 60bd4ca56398f0f6ea6dcf88cc18e325583bf5328aeec51d396070944a9495c8
+16 -4
View File
@@ -6,20 +6,29 @@
# This function is used for downloading files and putting them into the correct location
prepare() {
cd "$BPM_SOURCE"
# https://github.com/rust-lang/cargo/issues/14866
find -name Cargo.toml -type f -exec sed -i '/"vendored-lua"/d' {} +
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
YAZI_GEN_COMPLETIONS=true cargo build --release --frozen --no-default-features
YAZI_GEN_COMPLETIONS=true cargo build --release -p "yazi-cli"
export VERGEN_GIT_SHA="${BPM_PKG_VERSION}-${BPM_PKG_REVISION}"
export YAZI_GEN_COMPLETIONS=true
export RUSTONIG_DYNAMIC_LIBONIG=1
cargo build --release --frozen --no-default-features
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cargo test --frozen
export VERGEN_GIT_SHA="${BPM_PKG_VERSION}-${BPM_PKG_REVISION}"
export YAZI_GEN_COMPLETIONS=true
export RUSTONIG_DYNAMIC_LIBONIG=1
cargo test --frozen --workspace --no-default-features
}
# The package function is executed in the source directory
@@ -38,7 +47,10 @@ package() {
install -Dm644 yazi-boot/completions/yazi.bash "$BPM_OUTPUT"/usr/share/bash-completion/completions/yazi
install -Dm644 yazi-boot/completions/yazi.fish "$BPM_OUTPUT"/usr/share/fish/vedor_completions.d/yazi.fish
install -Dm644 yazi-boot/completions/_yazi "$BPM_OUTPUT"/usr/share/zsh/site-functions/_yazi
install -Dm644 yazi-cli/completions/ya.bash "$BPM_OUTPUT"/usr/share/bash-completion/completions/ya
install -Dm644 yazi-cli/completions/ya.fish "$BPM_OUTPUT"/usr/share/fish/vedor_completions.d/ya.fish
install -Dm644 yazi-cli/completions/_ya "$BPM_OUTPUT"/usr/share/zsh/site-functions/_ya
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/yazi/LICENSE
}