pantry/projects/github.com/neovim/unibilium/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

28 lines
562 B
YAML

distributable:
url: https://github.com/neovim/unibilium/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: neovim/unibilium
build:
dependencies:
gnu.org/libtool: '*'
darwin:
invisible-island.net/ncurses: '*'
script: |
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install $ARGS
env:
ARGS:
- PREFIX="{{prefix}}"
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
pkg-config --modversion unibilium | grep {{version}}
cc test.c -lunibilium -o test
./test