mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
1e11cd72b1
closes #4852
37 lines
746 B
YAML
37 lines
746 B
YAML
distributable:
|
|
url: https://github.com/sxyazi/yazi/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: sxyazi/yazi/tags
|
|
strip: /^v/
|
|
|
|
dependencies:
|
|
stedolan.github.io/jq: '*'
|
|
poppler.freedesktop.org: '*'
|
|
crates.io/fd-find: '*'
|
|
crates.io/ripgrep: '*'
|
|
github.com/junegunn/fzf: '*'
|
|
crates.io/zoxide: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: ^1.70
|
|
rust-lang.org/cargo: '*'
|
|
llvm.org: <17
|
|
gnu.org/make: '*'
|
|
script:
|
|
- run: cargo install --locked --root {{prefix}} --path app
|
|
if: <0.2.0
|
|
- run: cargo install --locked --root {{prefix}} --path yazi-fm
|
|
if: '>=0.2.0'
|
|
env:
|
|
CC: clang
|
|
LD: clang
|
|
|
|
provides:
|
|
- bin/yazi
|
|
|
|
test:
|
|
- yazi --version | grep "{{version}}"
|