distributable:
  url: https://github.com/htacg/tidy-html5/archive/refs/tags/{{version}}.tar.gz
  strip-components: 1

versions:
  github: htacg/tidy-html5

build:
  dependencies:
    cmake.org: '*'
  working-directory: build/cmake
  script: |
    cmake --install-prefix={{prefix}} ../..
    make --jobs {{ hw.concurrency }} install

provides:
  - bin/tidy

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