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

26 lines
503 B
YAML

distributable:
url: https://github.com/apollographql/rover/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/rover
dependencies:
openssl.org: ^1.1
zlib.net: ^1
versions:
github: apollographql/rover
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(rover --version)" = "Rover {{version}}"