summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:27:24 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:27:24 +0200
commit5d89858685e80befc94bcf759996600bb2690eb2 (patch)
treeddbd37964505dc839b829d0bb8179c30eac4be19 /games
parentfe4c4078152ac05a68cd6297f1db37e38cb954c9 (diff)
downloadslackbuilds-5d89858685e80befc94bcf759996600bb2690eb2.tar.gz
games/typhoon_2001: Updated for version r3992
Diffstat (limited to 'games')
-rw-r--r--games/typhoon_2001/typhoon_2001.SlackBuild29
-rw-r--r--games/typhoon_2001/typhoon_2001.desktop7
-rw-r--r--games/typhoon_2001/typhoon_2001.info4
-rw-r--r--games/typhoon_2001/typhoon_2001.pngbin0 -> 1734 bytes
4 files changed, 31 insertions, 9 deletions
diff --git a/games/typhoon_2001/typhoon_2001.SlackBuild b/games/typhoon_2001/typhoon_2001.SlackBuild
index 8f970d5fef..e05710ede8 100644
--- a/games/typhoon_2001/typhoon_2001.SlackBuild
+++ b/games/typhoon_2001/typhoon_2001.SlackBuild
@@ -8,9 +8,15 @@
# needs a symlink forest in the user's home directory... except the
# typhoon.cfg needs to be a real file and be writable by the user.
# (it will be created the first time the game is run).
+
+# Note to SBo admins: please don't change the ARCH line to read
+# ARCH=${ARCH:-i486}, since this is a binary-only package (users might get
+# confused seeing a so-called x86_64 package that really contains an
+# x86 binary...)
+
PRGNAM=typhoon_2001
VERSION=r3992
-ARCH=${ARCH:-i486}
+ARCH=i486
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,14 +25,16 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+set -e
+
rm -fr $TMP/$PRGNAM $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $TMP $PKG $OUTPUT
# Grr. tarball doesn't contain a top-level dir, it pollutes the
# current dir...
-mkdir $TMP/$PRGNAM || exit 1
-cd $TMP/$PRGNAM || exit 1
-tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz || exit 1
+mkdir $TMP/$PRGNAM
+cd $TMP/$PRGNAM
+tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
# Don't trust the ownership/permissions...
chown -R root:root .
@@ -44,11 +52,16 @@ mv readme_linux.txt $PKG/usr/doc/$PRGNAM-$VERSION
mv typhoon $PKG/usr/libexec
mv * $PKG/usr/share/games/$PRGNAM
-cat $CWD/slack-desc >$PKG/install/slack-desc
install -m 0755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
-chmod 755 $PKG/usr/bin/$PRGNAM
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.tgz
+# Icon extracted from the windows .exe with wrestool, converted with icotool
+mkdir -p $PKG/usr/share/pixmaps
+cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD.${PKGTYPE:-tgz}
diff --git a/games/typhoon_2001/typhoon_2001.desktop b/games/typhoon_2001/typhoon_2001.desktop
new file mode 100644
index 0000000000..75fef3dfc9
--- /dev/null
+++ b/games/typhoon_2001/typhoon_2001.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Typhoon 2001
+Exec=typhoon_2001
+Type=Application
+Icon=typhoon_2001
+GenericName=Typhoon 2001 Game
+Categories=Game;ArcadeGame;
diff --git a/games/typhoon_2001/typhoon_2001.info b/games/typhoon_2001/typhoon_2001.info
index 5a3036fd72..badedbe5e3 100644
--- a/games/typhoon_2001/typhoon_2001.info
+++ b/games/typhoon_2001/typhoon_2001.info
@@ -3,6 +3,8 @@ VERSION="r3992"
HOMEPAGE="http://typhoon.kuto.de/"
DOWNLOAD="http://typhoon.kuto.de/files/typhoon_2001_r3992.tar.gz"
MD5SUM="d83d89570a18ef121776442baef00647"
+DOWNLOAD_x86_64="UNSUPPORTED"
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="David Somero,Erik Hanson"
+APPROVED="rworkman"
diff --git a/games/typhoon_2001/typhoon_2001.png b/games/typhoon_2001/typhoon_2001.png
new file mode 100644
index 0000000000..4e4cea1b49
--- /dev/null
+++ b/games/typhoon_2001/typhoon_2001.png
Binary files differ