From 4d9838796c12402911f4e8c815fc8656c931ac8c Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 13 Sep 2023 14:18:34 -0400 Subject: [PATCH] +yazi --- projects/github.com/sxyazi/yazi/package.yml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/github.com/sxyazi/yazi/package.yml diff --git a/projects/github.com/sxyazi/yazi/package.yml b/projects/github.com/sxyazi/yazi/package.yml new file mode 100644 index 00000000..588cb9ae --- /dev/null +++ b/projects/github.com/sxyazi/yazi/package.yml @@ -0,0 +1,28 @@ +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: '*' + script: cargo install --locked --root {{prefix}} --path app + + +provides: + - bin/yazi + +test: + - test "$(foo --version)" = {{version}} \ No newline at end of file