diff --git a/projects/starship.rs/package.yml b/projects/starship.rs/package.yml new file mode 100644 index 0000000000..e1382d2aa2 --- /dev/null +++ b/projects/starship.rs/package.yml @@ -0,0 +1,22 @@ +distributable: + url: https://github.com/starship/starship/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/starship + +versions: + github: starship/starship/tags + strip: /v/ + +build: + dependencies: + cmake.org: ">=3.5" + tea.xyz/gx/make: "*" + rust-lang.org: ">=1.60" + rust-lang.org/cargo: "*" + script: cargo install --locked --path . --root {{prefix}} + +test: + script: | + starship --version