diff options
author | B. Watson <yalhcru@gmail.com> | 2010-04-16 21:50:57 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-15 10:38:07 +0200 |
commit | a9bd826f2222adb1fa3d04aa3ee9369d62ea4acc (patch) | |
tree | e8ee58bcd5634a78e0d30e2829f6b353736e5193 /games/clonekeen/clonekeen.sh | |
parent | 2420f03c14cbc8fc2d11fceefbe4d10dbb80aa44 (diff) | |
download | slackbuilds-a9bd826f2222adb1fa3d04aa3ee9369d62ea4acc.tar.gz |
games/clonekeen: Added (open source engine for Commander Keen)
Diffstat (limited to 'games/clonekeen/clonekeen.sh')
-rw-r--r-- | games/clonekeen/clonekeen.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/clonekeen/clonekeen.sh b/games/clonekeen/clonekeen.sh new file mode 100644 index 0000000000..e189070a09 --- /dev/null +++ b/games/clonekeen/clonekeen.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +GAME=clonekeen +HOMEDIR=~/.$GAME +mkdir -p $HOMEDIR +cd $HOMEDIR +if [ -e defaultargs ]; then + ARGS="`cat defaultargs`" +fi +ln -s /usr/share/games/$GAME/* . &>/dev/null || true +exec $GAME-bin "$@" $ARGS |