mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
30 lines
484 B
YAML
30 lines
484 B
YAML
|
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:
|
||
|
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}}
|
||
|
|