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

35 lines
755 B
YAML

distributable:
url: https://www.leonerd.org.uk/code/libtermkey/libtermkey-{{version.marketing}}.tar.gz
strip-components: 1
versions:
url: https://www.leonerd.org.uk/code/libtermkey
match: /libtermkey-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /^libtermkey-/
- /\.tar\.gz/
dependencies:
github.com/neovim/unibilium: '*'
invisible-island.net/ncurses: '*'
build:
dependencies:
gnu.org/libtool: '*'
freedesktop.org/pkg-config: '*'
linux:
gnome.org/glib: '*'
script:
- make $ARGS
- make $ARGS install
env:
ARGS:
- PREFIX="{{prefix}}"
- --jobs {{ hw.concurrency }}
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion termkey | grep {{version.marketing}}