2023-09-13 21:18:34 +03:00
|
|
|
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: '*'
|
2023-10-21 08:59:11 +03:00
|
|
|
llvm.org: <17
|
2023-10-21 08:53:12 +03:00
|
|
|
gnu.org/make: '*'
|
2024-01-16 18:19:18 +03:00
|
|
|
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'
|
2023-10-21 08:59:11 +03:00
|
|
|
env:
|
|
|
|
CC: clang
|
|
|
|
LD: clang
|
2023-09-13 21:18:34 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/yazi
|
|
|
|
|
|
|
|
test:
|
2023-10-21 08:53:12 +03:00
|
|
|
- yazi --version | grep "{{version}}"
|