games/transfusion: Updated for version 1.05_beta2

This commit is contained in:
B. Watson 2010-05-13 00:27:22 +02:00 committed by David Somero
parent 4a36e05954
commit e16b1d6786
6 changed files with 31 additions and 3 deletions

View file

@ -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.

View file

@ -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

View file

@ -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}

View file

@ -0,0 +1,6 @@
[Desktop Entry]
Name=Transfusion
Exec=transfusion-glx
Type=Application
Icon=transfusion
Categories=Game;ActionGame;

View file

@ -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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B