pantry/projects/github.com/ocrmypdf/OCRmyPDF/package.yml

30 lines
484 B
YAML
Raw Normal View History

distributable:
url: https://github.com/ocrmypdf/OCRmyPDF/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: ocrmypdf/OCRmyPDF
platforms:
- darwin
- linux/x86-64
dependencies:
2023-10-03 18:23:56 +03:00
python.org: ~3.11
build:
script: |
python-venv.sh {{prefix}}/bin/ocrmypdf
env:
# add any environment variables here
ARGS:
- --prefix="{{prefix}}"
provides:
- bin/ocrmypdf
test:
script:
test "$(ocrmypdf --version)" = {{version}}