mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
26 lines
559 B
YAML
26 lines
559 B
YAML
|
distributable:
|
||
|
url: https://github.com/tldr-pages/tldr-c-client/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: tldr-pages/tldr-c-client/releases/tags
|
||
|
|
||
|
dependencies:
|
||
|
libzip.org: ^1.9.2
|
||
|
curl.se: '*'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
script: |
|
||
|
make PREFIX="{{prefix}}" CFLAGS="-ggdb -O0 -ftrapv $CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" --jobs {{ hw.concurrency }} install
|
||
|
|
||
|
provides:
|
||
|
- bin/tldr
|
||
|
|
||
|
test: |
|
||
|
tldr --version
|
||
|
tldr ls
|
||
|
tldr --version | grep {{ version }}
|