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 name: yazi
description: Blazing fast terminal file manager written in Rust, based on async I/O description: Blazing fast terminal file manager written in Rust, based on async I/O
version: 26.5.6 version: 26.8.15
revision: 2 revision: 1
url: https://yazi-rs.github.io/ url: https://yazi-rs.github.io/
license: MIT license: MIT
maintainers: maintainers:
@@ -10,17 +10,21 @@ architecture: any
type: source type: source
depends: depends:
- gcc-libs - gcc-libs
- hicolor-icon-theme
- lua
- oniguruma
- nerd-fonts-symbols - nerd-fonts-symbols
optional_depends: optional_depends:
- 7zip - 7zip:For archive extraction and preview
- fd - fd:For file searching
- ffmpeg - ffmpeg:For video thumbnails
- imagemagick - git:For Yazi package management
- jq - imagemagick:For image and font preview
- poppler - jq:For JSON preview
- ripgrep - poppler:For PDF preview
- wl-clipboard - ripgrep:For file content searching
- xclip - wl-clipboard:For Wayland clipboard support
- xclip:For X11 clipboard support
make_depends: make_depends:
- rustc - rustc
- imagemagick - imagemagick
@@ -28,4 +32,4 @@ downloads:
- url: https://github.com/sxyazi/yazi/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz - url: https://github.com/sxyazi/yazi/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 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 # This function is used for downloading files and putting them into the correct location
prepare() { prepare() {
cd "$BPM_SOURCE" 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')" cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
} }
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
YAZI_GEN_COMPLETIONS=true cargo build --release --frozen --no-default-features export VERGEN_GIT_SHA="${BPM_PKG_VERSION}-${BPM_PKG_REVISION}"
YAZI_GEN_COMPLETIONS=true cargo build --release -p "yazi-cli" 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 # The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
check() { 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 # 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.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.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-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 package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/yazi/LICENSE install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/yazi/LICENSE
} }