pantry/projects/starship.rs/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

21 lines
412 B
YAML

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"
rust-lang.org: ">=1.60"
rust-lang.org/cargo: "*"
script: cargo install --locked --path . --root {{prefix}}
test:
script: |
starship --version