mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-24 09:12:43 +03:00
34 lines
963 B
YAML
34 lines
963 B
YAML
name: yazi
|
|
base: core22
|
|
adopt-info: yazi
|
|
summary: Blazing fast terminal file manager written in Rust, based on async I/O.
|
|
description: |
|
|
Yazi is a terminal file manager written in Rust, based on non-blocking async I/O.
|
|
It aims to provide an efficient, user-friendly, and customizable file management experience.
|
|
license: MIT
|
|
grade: stable
|
|
confinement: classic
|
|
|
|
architectures:
|
|
- amd64
|
|
# - arm64
|
|
|
|
apps:
|
|
yazi:
|
|
command: yazi
|
|
environment:
|
|
PATH: $SNAP/bin:$PATH
|
|
|
|
parts:
|
|
yazi:
|
|
plugin: rust
|
|
source: https://github.com/sxyazi/yazi.git
|
|
override-build: |
|
|
craftctl default
|
|
craftctl set version=$(git describe --tags --abbrev=0)
|
|
cargo install fd-find --root $CRAFT_PART_INSTALL
|
|
cargo install ripgrep --root $CRAFT_PART_INSTALL
|
|
cargo install zoxide --root $CRAFT_PART_INSTALL
|
|
git clone --depth 1 https://github.com/junegunn/fzf.git fzf
|
|
fzf/install --bin && mv fzf/bin/fzf $CRAFT_PART_INSTALL/bin/
|