mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
cf71174804
* Update wumpus to 1.9 * Skip the man page, add a real test --------- Co-authored-by: James Reynolds <magnsuviri@me.com>
31 lines
724 B
YAML
31 lines
724 B
YAML
distributable:
|
|
url: https://gitlab.com/esr/wumpus/-/archive/{{ version.raw }}/wumpus-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
- 1.9
|
|
|
|
provides:
|
|
- bin/wumpus
|
|
- bin/superhack
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
#pagure.io/xmlto: '*'
|
|
|
|
script: |
|
|
make wumpus superhack
|
|
# When xmlto is packaged then switch the to `make ... install`
|
|
mkdir -p "{{prefix}}"/bin
|
|
mv wumpus superhack "{{prefix}}"/bin
|
|
# make prefix={{prefix}} install
|
|
|
|
test:
|
|
script: |
|
|
wumpus > wumpus.out &
|
|
superhack > superhack.out &
|
|
sleep 1
|
|
test "x$(head -n1 wumpus.out)" = "xINSTRUCTIONS (Y-N)" && \
|
|
test "x$(head -n1 superhack.out)" = "xHunt the Superhack"
|