summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:26:32 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:32 +0200
commit369589a48d98d9cf0d1e4f6f22545c6e772d732d (patch)
tree8ae59145665f56b64a3c02b75dd5f06b42345d37 /games
parent6e95b0d1e26d3ac53c0badf5b3e3d248dd3f7f3a (diff)
downloadslackbuilds-369589a48d98d9cf0d1e4f6f22545c6e772d732d.tar.gz
games/koules: Updated for version 1.4
Diffstat (limited to 'games')
-rw-r--r--games/koules/README4
-rw-r--r--games/koules/doinst.sh2
-rw-r--r--games/koules/koules.SlackBuild4
-rw-r--r--games/koules/koules.desktop3
-rw-r--r--games/koules/koules.info4
-rw-r--r--games/koules/koules.kde7
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