30 lines
1002 B
Bash
30 lines
1002 B
Bash
# Template file for 'yazi'
|
|
pkgname=yazi
|
|
version=0.3.3
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config"
|
|
makedepends="oniguruma-devel lua54-devel"
|
|
depends="nerd-fonts-symbols-ttf"
|
|
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"
|
|
distfiles="https://github.com/sxyazi/yazi/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=fe2a458808334fe20eff1ab0145c78d684d8736c9715e4c51bce54038607dc4e
|
|
|
|
export VERGEN_GIT_SHA="${version}_${revision}"
|
|
# enable the generation of shell auto completions
|
|
export YAZI_GEN_COMPLETIONS=true
|
|
|
|
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
|
|
vinstall assets/yazi.desktop 644 /usr/share/applications
|
|
vlicense LICENSE
|
|
}
|