add yazi package template
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
# Template file for 'yazi'
|
||||||
|
pkgname=yazi
|
||||||
|
version=26.5.6
|
||||||
|
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=a18445df86a20068f7b17609d12d6f635de488958579ae7a2b143a244ba7e63f
|
||||||
|
|
||||||
|
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
|
||||||
|
vinstall assets/logo.png 644 /usr/share/pixmaps yazi.png
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user