mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
28 lines
592 B
YAML
28 lines
592 B
YAML
distributable:
|
|
url: http://files.itstool.org/itstool/itstool-{{version}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://itstool.org/download.html
|
|
match: /itstool-\d+\.\d+\.\d+\.tar\.bz2/
|
|
strip:
|
|
- /^itstool-/
|
|
- /\.tar\.bz2$/
|
|
|
|
dependencies:
|
|
gnome.org/libxml2: '*'
|
|
python.org: ~3.11
|
|
|
|
build:
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
- sed -i'' -e 's|#!/.* -s|#!/usr/bin/env python|g' {{prefix}}/bin/itstool
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
|
|
provides:
|
|
- bin/itstool
|
|
|
|
test: itstool --version | grep {{version}}
|