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

24 lines
464 B
YAML

distributable:
url: https://github.com/sbdchd/squawk/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/squawk
versions:
github: sbdchd/squawk
strip: /v/
build:
working-directory: cli
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
openssl.org: '*'
perl.org: '*'
script:
cargo install --path . --root {{prefix}}
test:
script:
- test "$(squawk --version)" = "squawk {{version}}"