summaryrefslogtreecommitdiff
path: root/manualPorts/hyperrogue/lastVersion.sh
blob: e1297261bf740c280f9fdca8e382e97d60e0fa63 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl -Ss 'http://www.roguetemple.com/z/hyper/download.php' | \
  sed '
    s,^.*<a href="hyperrogue\([0-9]\+[a-z]\?\)-src.tgz">[^<>]\+ source code</a>.*$,\1,
    t
    d
  '