aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:27:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:22 +0200
commite16b1d678679b5e2d1e37209c7626120b124e39f (patch)
treebeff4f75fd45efc2e74a6428fc7f5aeeba28d3fa
parent4a36e0595484f879308d682c5fd4c4d06ba10841 (diff)
games/transfusion: Updated for version 1.05_beta2
-rw-r--r--games/transfusion/README8
-rw-r--r--games/transfusion/doinst.sh3
-rw-r--r--games/transfusion/transfusion.SlackBuild15
-rw-r--r--games/transfusion/transfusion.desktop6
-rw-r--r--games/transfusion/transfusion.info2
-rw-r--r--games/transfusion/transfusion.pngbin0 -> 454 bytes
6 files changed, 31 insertions, 3 deletions
diff --git a/games/transfusion/README b/games/transfusion/README
index f7fe08eb6ef88..8a8c778d35559 100644
--- a/games/transfusion/README
+++ b/games/transfusion/README
@@ -9,3 +9,11 @@ dutifully until He decided it was time to take everything from you for
Himself... apparently, even gods make mistakes.
Leaving you to rot in a grave and forgetting about you was a BIG one.
+
+SlackBuild note:
+
+The .info file says x86_64 is unsupported. However, if you install 32-bit
+compatibility libraries (such as those from alienBOB's site), you stand a
+good chance of getting the game to run (it works for the author of this
+SlackBuild)... But *don't* bother the slackbuilds.org team if you can't
+get it working: they don't support multilib.
diff --git a/games/transfusion/doinst.sh b/games/transfusion/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/games/transfusion/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/games/transfusion/transfusion.SlackBuild b/games/transfusion/transfusion.SlackBuild
index 9861b790d3422..74d8daa1c7931 100644
--- a/games/transfusion/transfusion.SlackBuild
+++ b/games/transfusion/transfusion.SlackBuild
@@ -5,13 +5,13 @@
# Written by B. Watson (yalhcru@gmail.com)
# The game is distributed as a binary. This script just repackages
-# the binary into a nice Slack package.
+# the binary into a nice Slack package and adds KDE/XFCE desktop integration.
PRGNAM=transfusion
VERSION=${VERSION:-1.05_beta2}
SRCVER=$(echo $VERSION | sed 's/_/-/g')
ARCH=i486 # possibly a fib, we dunno how the binary was compiled
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -45,8 +45,17 @@ sed "s/@VERSION@/$VERSION/g" < $CWD/$PRGNAM.in > $PKG/usr/bin/$PRGNAM-glx
chmod 755 $PKG/usr/bin/$PRGNAM-glx
( cd $PKG/usr/bin/ && ln -s $PRGNAM-glx $PRGNAM-dedicated )
+
+# Icon extracted from windows transfusion.exe (sorry, it's 32x32)
+mkdir -p $PKG/usr/share/pixmaps
+cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/transfusion/transfusion.desktop b/games/transfusion/transfusion.desktop
new file mode 100644
index 0000000000000..c9c12a7125314
--- /dev/null
+++ b/games/transfusion/transfusion.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Transfusion
+Exec=transfusion-glx
+Type=Application
+Icon=transfusion
+Categories=Game;ActionGame;
diff --git a/games/transfusion/transfusion.info b/games/transfusion/transfusion.info
index 3cdd32989e9f3..b720eab6ec77e 100644
--- a/games/transfusion/transfusion.info
+++ b/games/transfusion/transfusion.info
@@ -2,7 +2,9 @@ PRGNAM="transfusion"
VERSION="1.05_beta2"
HOMEPAGE="http://www.transfusion-game.com/"
DOWNLOAD="http://offload.funwithheads.com/transfusion/files/beta/transfusion-1.05-beta2.zip"
+DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM="c19cc9a8160d47b1ea23305a38f1d091"
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"
diff --git a/games/transfusion/transfusion.png b/games/transfusion/transfusion.png
new file mode 100644
index 0000000000000..feb095de558a4
--- /dev/null
+++ b/games/transfusion/transfusion.png
Binary files differ