pantry/projects/github.com/neovim/unibilium/package.yml

31 lines
633 B
YAML
Raw Normal View History

distributable:
url: https://github.com/neovim/unibilium/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: neovim/unibilium
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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:
tea.xyz/gx/cc: c99
freedesktop.org/pkg-config: '*'
script: |
pkg-config --modversion unibilium | grep {{version}}
cc test.c -lunibilium -o test
./test