pantry/projects/chiark.greenend.org.uk/halibut/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

27 lines
609 B
YAML

distributable:
url: https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-{{version.marketing}}/halibut-{{version.marketing}}.tar.gz
strip-components: 1
versions:
url: https://www.chiark.greenend.org.uk/~sgtatham/halibut/
match: /halibut-\d+\.\d+\.tar.gz/
strip:
- /^halibut-/
- /\.tar\.gz$/
build:
dependencies:
cmake.org: '*'
script: |
cmake -S . -B build $ARGS
cmake --build build
cmake --install build
env:
ARGS:
- -DCMAKE_INSTALL_PREFIX:PATH="{{prefix}}"
provides:
- bin/halibut
test:
halibut --version | grep {{version.marketing}}