distributable:
  url: https://github.com/ekzhang/bore/archive/refs/tags/v{{version}}.tar.gz
  strip-components: 1

versions:
  github: ekzhang/bore

build:
  dependencies:
    rust-lang.org/cargo: '*'
  script:
    cargo install --locked --path . --root {{prefix}}

provides:
  - bin/bore

test:
  bore --version | grep {{version}}