mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: yazi-0.2.5
This commit is contained in:
parent
2ca6729c67
commit
46bf254316
1 changed files with 27 additions and 0 deletions
27
srcpkgs/yazi/template
Normal file
27
srcpkgs/yazi/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue