mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
29 lines
512 B
YAML
29 lines
512 B
YAML
distributable:
|
|
url: https://dev.yorhel.nl/download/ncdu-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/ncdu
|
|
|
|
versions:
|
|
url: https://dev.yorhel.nl/download/
|
|
match: /ncdu-1\.\d+(\.\d+)?\.tar\.gz/ # v2 is `zig`, which is a whole thing
|
|
strip:
|
|
- /ncdu-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
invisible-island.net/ncurses: '*'
|
|
|
|
build:
|
|
script: |
|
|
./configure $ARGS
|
|
make -j {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix {{ prefix }}
|
|
|
|
test: |
|
|
ncdu -o test
|
|
cat test
|