28 lines
907 B
Bash
28 lines
907 B
Bash
|
# Template file for 'yazi'
|
||
|
pkgname=yazi
|
||
|
version=0.2.5
|
||
|
revision=1
|
||
|
build_style=cargo
|
||
|
make_install_args="--path yazi-fm"
|
||
|
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"
|
||
|
distfiles="https://github.com/sxyazi/yazi/archive/refs/tags/v${version}.tar.gz"
|
||
|
checksum=aea4a6ebd7f56c5d5fe6afbea143fc98c336d4ccd7852f2e8983c23e205988c4
|
||
|
|
||
|
export VERGEN_GIT_SHA="${version}_${revision}"
|
||
|
# enable the generation of shell auto completions
|
||
|
export YAZI_GEN_COMPLETIONS=true
|
||
|
|
||
|
post_install() {
|
||
|
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
|
||
|
}
|