diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:27:22 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:27:22 +0200 |
commit | e16b1d678679b5e2d1e37209c7626120b124e39f (patch) | |
tree | beff4f75fd45efc2e74a6428fc7f5aeeba28d3fa /games/transfusion/transfusion.SlackBuild | |
parent | 4a36e0595484f879308d682c5fd4c4d06ba10841 (diff) | |
download | slackbuilds-e16b1d678679b5e2d1e37209c7626120b124e39f.tar.gz |
games/transfusion: Updated for version 1.05_beta2
Diffstat (limited to 'games/transfusion/transfusion.SlackBuild')
-rw-r--r-- | games/transfusion/transfusion.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/games/transfusion/transfusion.SlackBuild b/games/transfusion/transfusion.SlackBuild index 9861b790d3..74d8daa1c7 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} |