mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
26 lines
651 B
YAML
26 lines
651 B
YAML
distributable:
|
|
url: https://gitlab.com/esr/wumpus/-/archive/{{ version.raw }}/wumpus-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
gitlab: esr/wumpus/tags
|
|
|
|
provides:
|
|
- bin/wumpus
|
|
- bin/superhack
|
|
|
|
build:
|
|
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"
|