mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+argbash.dev (#5521)
* new file: projects/argbash.dev/package.yml * make install
This commit is contained in:
parent
28b4ffbd20
commit
8876034b08
1 changed files with 27 additions and 0 deletions
27
projects/argbash.dev/package.yml
Normal file
27
projects/argbash.dev/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
distributable:
|
||||
url: https://github.com/matejak/argbash/archive/refs/tags/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: matejak/argbash
|
||||
|
||||
dependencies:
|
||||
gnu.org/bash: '>=3.0'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
gnu.org/autoconf: '*'
|
||||
script:
|
||||
- make install PREFIX={{prefix}}
|
||||
working-directory: resources
|
||||
|
||||
provides:
|
||||
- bin/argbash
|
||||
- bin/argbash-init
|
||||
- bin/argbash-1to2
|
||||
|
||||
test:
|
||||
- argbash-init --pos positional-arg --opt option --opt-bool print minimal.m4
|
||||
- cat minimal.m4 | grep 'This is just a script template'
|
||||
- argbash --version | grep {{version}}
|
||||
- argbash --help | grep 'Argbash is an argument parser generator for Bash'
|
Loading…
Reference in a new issue