pantry/projects/github.com/neovim/unibilium/package.yml
ArionThinker 3336be8c94 new file: projects/github.com/neovim/unibilium/package.yml
new file:   projects/github.com/neovim/unibilium/test.c
2023-06-20 20:29:34 -04:00

30 lines
633 B
YAML

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