mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/transfusion: Updated for version 1.05_beta2
This commit is contained in:
parent
4a36e05954
commit
e16b1d6786
6 changed files with 31 additions and 3 deletions
|
@ -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.
|
||||
|
|
3
games/transfusion/doinst.sh
Normal file
3
games/transfusion/doinst.sh
Normal 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
|
|
@ -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}
|
||||
|
|
6
games/transfusion/transfusion.desktop
Normal file
6
games/transfusion/transfusion.desktop
Normal file
|
@ -0,0 +1,6 @@
|
|||
[Desktop Entry]
|
||||
Name=Transfusion
|
||||
Exec=transfusion-glx
|
||||
Type=Application
|
||||
Icon=transfusion
|
||||
Categories=Game;ActionGame;
|
|
@ -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"
|
||||
|
|
BIN
games/transfusion/transfusion.png
Normal file
BIN
games/transfusion/transfusion.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 454 B |
Loading…
Reference in a new issue