-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Copy pathtemplate
29 lines (27 loc) · 1002 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Template file for 'yazi'
pkgname=yazi
version=0.4.2
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 <[email protected]>"
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=88995c90954d140f455cf9ca4f87f9ca36390717377be86b0672456e1eb5f65f
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
}