mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+tldr.sh (#851)
* feat: add +tldr.sh * test fix prefix * add curl as build dep * update test hopefully it will work * show output, test * ensure compiler flags are send on linux * bash script quoting, still not working properly * make curl runtime dep
This commit is contained in:
parent
d8a3e7c646
commit
a0ac2ba694
1 changed files with 25 additions and 0 deletions
25
projects/tldr.sh/package.yml
Normal file
25
projects/tldr.sh/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
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 }}
|
Loading…
Reference in a new issue