From 369589a48d98d9cf0d1e4f6f22545c6e772d732d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 13 May 2010 00:26:32 +0200 Subject: games/koules: Updated for version 1.4 --- games/koules/README | 4 ++-- games/koules/doinst.sh | 2 +- games/koules/koules.SlackBuild | 4 ++-- games/koules/koules.desktop | 3 +-- games/koules/koules.info | 4 +++- games/koules/koules.kde | 7 ++++--- 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/games/koules/README b/games/koules/README index e0486775e0..11a9c025c1 100644 --- a/games/koules/README +++ b/games/koules/README @@ -1,5 +1,5 @@ -Koules is a fast action arcade-style game for UNIX and OS/2. This version -supports X window system, SVGAlib for Linux and OS/2. It works in fine +Koules is a fast action arcade-style game for UNIX and OS/2. This version +supports X window system, SVGAlib for Linux and OS/2. It works in fine (up to 900x620) resolution with cool 256 color graphics, multiplayer mode up to 5 players, full sound and, of course, network support. Koules is an original idea. First version of Koules was developed from scratch diff --git a/games/koules/doinst.sh b/games/koules/doinst.sh index 3857649f50..b343fc265c 100644 --- a/games/koules/doinst.sh +++ b/games/koules/doinst.sh @@ -1,3 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications 1> /dev/null 2>/dev/null fi diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild index 248b31549c..1f0d772ad9 100644 --- a/games/koules/koules.SlackBuild +++ b/games/koules/koules.SlackBuild @@ -87,7 +87,7 @@ make # so there'd be some manual stuff going on anyway. mkdir -p $PKG/usr/games -strip x$PRGNAM +strip --strip-unneeded x$PRGNAM install -m0755 x$PRGNAM -o root -g root $PKG/usr/games/$PRGNAM install -m0755 $PRGNAM.tcl -o root -g root $PKG/usr/games/$PRGNAM-launcher @@ -119,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/koules/koules.desktop b/games/koules/koules.desktop index e110b38dda..194848d9e2 100644 --- a/games/koules/koules.desktop +++ b/games/koules/koules.desktop @@ -1,8 +1,7 @@ [Desktop Entry] -Encoding=UTF-8 Name=Koules Exec=/usr/libexec/koules.kde Type=Application Icon=koules GenericName=Koules -Categories=Game;Arcade; +Categories=Game;ArcadeGame; diff --git a/games/koules/koules.info b/games/koules/koules.info index 6d8259a149..106d37ece2 100644 --- a/games/koules/koules.info +++ b/games/koules/koules.info @@ -3,6 +3,8 @@ VERSION="1.4" HOMEPAGE="http://www.ucw.cz/~hubicka/koules/English/koules.html" DOWNLOAD="http://www.ucw.cz/~hubicka/koules/packages/koules1.4-src.tar.gz" MD5SUM="0a5ac9e57c8b72e9fc200bc98273235c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/games/koules/koules.kde b/games/koules/koules.kde index 755ddb8515..6ae5fd98a9 100644 --- a/games/koules/koules.kde +++ b/games/koules/koules.kde @@ -7,7 +7,8 @@ # If the GUI launcher can't run (probably because Tcl/Tk isn't # installed), just start the game with default options. -# Wrap with artsdsp, since koules only knows how to use OSS /dev/dsp -# style audio (if it used ALSA, dmix would take care of us). +# This script used to use artsdsp to make the dumb old OSS sound code +# in the game play nice with KDE's sound server. Apparently this is no +# longer necessary in KDE 4 (at least, it seems to work for me without it). -artsdsp -n Koules koules-launcher || artsdsp -n Koules koules +koules-launcher || koules -- cgit v1.2.3