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

27 lines
600 B
YAML

distributable:
url: https://launchpad.net/libvterm/trunk/v{{version.marketing}}/+download/libvterm-{{version}}.tar.gz
strip-components: 1
versions:
url: https://launchpad.net/libvterm/+download
match: /libvterm-\d+\.\d+\.\d+.tar.gz/
strip:
- /^libvterm-/
- /\.tar\.gz$/
build:
dependencies:
gnu.org/libtool: '*'
script: |
make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}"
provides:
- bin/unterm
- bin/vterm-ctrl
- bin/vterm-dump
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion vterm | grep {{version}}