aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/supertuxkart/README7
-rw-r--r--games/supertuxkart/doinst.sh4
-rw-r--r--games/supertuxkart/patches/Makefile_am.diff121
-rw-r--r--games/supertuxkart/patches/Makefile_in.diff132
-rw-r--r--games/supertuxkart/patches/fix-bin-directory.diff53
-rw-r--r--games/supertuxkart/slack-desc19
-rw-r--r--games/supertuxkart/supertuxkart.672
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild81
-rw-r--r--games/supertuxkart/supertuxkart.info8
9 files changed, 497 insertions, 0 deletions
diff --git a/games/supertuxkart/README b/games/supertuxkart/README
new file mode 100644
index 000000000000..15a33880ad8f
--- /dev/null
+++ b/games/supertuxkart/README
@@ -0,0 +1,7 @@
+SuperTuxKart is a Free 3d kart racing game; we want to make
+the game fun more than we want to make it realistic. You can
+play with up to 4 friends on one PC, racing against each
+other or just try to beat the computer. (a network multiplayer
+feature is under development).
+
+Requires: plib and OpenAL available at SlackBuilds.org. \ No newline at end of file
diff --git a/games/supertuxkart/doinst.sh b/games/supertuxkart/doinst.sh
new file mode 100644
index 000000000000..4e8ba7071dea
--- /dev/null
+++ b/games/supertuxkart/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/games/supertuxkart/patches/Makefile_am.diff b/games/supertuxkart/patches/Makefile_am.diff
new file mode 100644
index 000000000000..38c4da98ade1
--- /dev/null
+++ b/games/supertuxkart/patches/Makefile_am.diff
@@ -0,0 +1,121 @@
+diff -Naur supertuxkart-0.6.1a.orig/data/Makefile.am supertuxkart-0.6.1a/data/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/Makefile.am 2009-01-28 22:57:55.000000000 +0000
++++ supertuxkart-0.6.1a/data/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,7 +1,7 @@
+ # data/
+
+ SUBDIRS = fonts items karts models music po sfx textures tracks grandprix
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data
++pkgdatadir = $(datadir)/$(PACKAGE)/data
+
+ dist_pkgdata_DATA = \
+ $(shell find $(srcdir) -name "*.data") \
+diff -Naur supertuxkart-0.6.1a.orig/data/fonts/Makefile.am supertuxkart-0.6.1a/data/fonts/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/fonts/Makefile.am 2009-01-28 22:57:39.000000000 +0000
++++ supertuxkart-0.6.1a/data/fonts/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,5 +1,5 @@
+ # data/fonts/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
++pkgdatadir = $(datadir)/$(PACKAGE)/data/fonts
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.txf")
+diff -Naur supertuxkart-0.6.1a.orig/data/grandprix/Makefile.am supertuxkart-0.6.1a/data/grandprix/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/grandprix/Makefile.am 2009-01-28 22:57:55.000000000 +0000
++++ supertuxkart-0.6.1a/data/grandprix/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/music
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
++pkgdatadir = $(datadir)/$(PACKAGE)/data/grandprix
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
+ $(shell find $(srcdir) -name "*.challenge")
+diff -Naur supertuxkart-0.6.1a.orig/data/items/Makefile.am supertuxkart-0.6.1a/data/items/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/items/Makefile.am 2009-01-28 22:57:39.000000000 +0000
++++ supertuxkart-0.6.1a/data/items/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/herrings/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/items
++pkgdatadir = $(datadir)/$(PACKAGE)/data/items
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ac") License.txt
+
+diff -Naur supertuxkart-0.6.1a.orig/data/karts/Makefile.am supertuxkart-0.6.1a/data/karts/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/karts/Makefile.am 2009-02-18 23:43:38.000000000 +0000
++++ supertuxkart-0.6.1a/data/karts/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/karts
+
+-pkgdatadir= $(datadir)/games/$(PACKAGE)/data/karts
++pkgdatadir= $(datadir)/$(PACKAGE)/data/karts
+
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "materials.dat") \
+ $(shell find $(srcdir) -name "*.rgb") \
+diff -Naur supertuxkart-0.6.1a.orig/data/models/Makefile.am supertuxkart-0.6.1a/data/models/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/models/Makefile.am 2009-01-28 22:57:55.000000000 +0000
++++ supertuxkart-0.6.1a/data/models/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/models/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/models
++pkgdatadir = $(datadir)/$(PACKAGE)/data/models
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ac") License.txt
+
+diff -Naur supertuxkart-0.6.1a.orig/data/music/Makefile.am supertuxkart-0.6.1a/data/music/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/music/Makefile.am 2009-01-28 22:57:47.000000000 +0000
++++ supertuxkart-0.6.1a/data/music/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/music
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/music
++pkgdatadir = $(datadir)/$(PACKAGE)/data/music
+
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ogg") \
+ $(shell find $(srcdir) -name "*.music") \
+diff -Naur supertuxkart-0.6.1a.orig/data/po/Makefile.am supertuxkart-0.6.1a/data/po/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/po/Makefile.am 2009-01-28 22:57:38.000000000 +0000
++++ supertuxkart-0.6.1a/data/po/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/po/
+
+-pkgdatadir = $(datadir)/games/@PACKAGE@/data/po
++pkgdatadir = @localedir@
+
+ nobase_pkgdata_DATA = $(shell find $(srcdir) -name "*.po") \
+ $(shell find $(srcdir) -name "*.mo") \
+diff -Naur supertuxkart-0.6.1a.orig/data/sfx/Makefile.am supertuxkart-0.6.1a/data/sfx/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/sfx/Makefile.am 2009-01-28 22:57:39.000000000 +0000
++++ supertuxkart-0.6.1a/data/sfx/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # sfx/
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/sfx
++pkgdatadir = $(datadir)/$(PACKAGE)/data/sfx
+
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.wav") \
+ $(shell find $(srcdir) -name "README")\
+diff -Naur supertuxkart-0.6.1a.orig/data/textures/Makefile.am supertuxkart-0.6.1a/data/textures/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/textures/Makefile.am 2009-01-28 22:57:54.000000000 +0000
++++ supertuxkart-0.6.1a/data/textures/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/textures
+
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/textures
++pkgdatadir = $(datadir)/$(PACKAGE)/data/textures
+ dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.rgb") materials.dat License.txt
+
+
+diff -Naur supertuxkart-0.6.1a.orig/data/tracks/Makefile.am supertuxkart-0.6.1a/data/tracks/Makefile.am
+--- supertuxkart-0.6.1a.orig/data/tracks/Makefile.am 2009-01-28 22:58:20.000000000 +0000
++++ supertuxkart-0.6.1a/data/tracks/Makefile.am 2009-05-14 06:53:59.000000000 +0000
+@@ -1,6 +1,6 @@
+ # data/tracks
+
+-pkgdatadir= $(datadir)/games/$(PACKAGE)/data/tracks
++pkgdatadir= $(datadir)/$(PACKAGE)/data/tracks
+ nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "readme.txt") \
+ $(shell find $(srcdir) -name "*.track") \
+ $(shell find $(srcdir) -name "*.drv?") \
diff --git a/games/supertuxkart/patches/Makefile_in.diff b/games/supertuxkart/patches/Makefile_in.diff
new file mode 100644
index 000000000000..4ceb85dafd12
--- /dev/null
+++ b/games/supertuxkart/patches/Makefile_in.diff
@@ -0,0 +1,132 @@
+diff -Naur supertuxkart-0.6.1a.orig/data/Makefile.in supertuxkart-0.6.1a/data/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -75,7 +75,7 @@
+ CTAGS = ctags
+ DIST_SUBDIRS = $(SUBDIRS)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data
++pkgdatadir = $(datadir)/$(PACKAGE)/data
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/fonts/Makefile.in supertuxkart-0.6.1a/data/fonts/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/fonts/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/fonts/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
++pkgdatadir = $(datadir)/$(PACKAGE)/data/fonts
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/grandprix/Makefile.in supertuxkart-0.6.1a/data/grandprix/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/grandprix/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/grandprix/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
++pkgdatadir = $(datadir)/$(PACKAGE)/data/grandprix
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/items/Makefile.in supertuxkart-0.6.1a/data/items/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/items/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/items/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/items
++pkgdatadir = $(datadir)/$(PACKAGE)/data/items
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/karts/Makefile.in supertuxkart-0.6.1a/data/karts/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/karts/Makefile.in 2009-02-18 23:44:11.000000000 +0000
++++ supertuxkart-0.6.1a/data/karts/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA)
+ DATA = $(nobase_dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/karts
++pkgdatadir = $(datadir)/$(PACKAGE)/data/karts
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/models/Makefile.in supertuxkart-0.6.1a/data/models/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/models/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/models/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/models
++pkgdatadir = $(datadir)/$(PACKAGE)/data/models
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/music/Makefile.in supertuxkart-0.6.1a/data/music/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/music/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/music/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/music
++pkgdatadir = $(datadir)/$(PACKAGE)/data/music
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/po/Makefile.in supertuxkart-0.6.1a/data/po/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/po/Makefile.in 2009-02-18 23:30:40.000000000 +0000
++++ supertuxkart-0.6.1a/data/po/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -62,7 +62,7 @@
+ nobase_pkgdataDATA_INSTALL = $(install_sh_DATA)
+ DATA = $(nobase_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/@PACKAGE@/data/po
++pkgdatadir = @localedir@
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/sfx/Makefile.in supertuxkart-0.6.1a/data/sfx/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/sfx/Makefile.in 2009-02-18 23:30:41.000000000 +0000
++++ supertuxkart-0.6.1a/data/sfx/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA)
+ DATA = $(nobase_dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/sfx
++pkgdatadir = $(datadir)/$(PACKAGE)/data/sfx
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/textures/Makefile.in supertuxkart-0.6.1a/data/textures/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/textures/Makefile.in 2009-02-18 23:30:41.000000000 +0000
++++ supertuxkart-0.6.1a/data/textures/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
+ DATA = $(dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/textures
++pkgdatadir = $(datadir)/$(PACKAGE)/data/textures
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
+diff -Naur supertuxkart-0.6.1a.orig/data/tracks/Makefile.in supertuxkart-0.6.1a/data/tracks/Makefile.in
+--- supertuxkart-0.6.1a.orig/data/tracks/Makefile.in 2009-02-18 23:30:41.000000000 +0000
++++ supertuxkart-0.6.1a/data/tracks/Makefile.in 2009-05-14 08:20:11.000000000 +0000
+@@ -63,7 +63,7 @@
+ nobase_dist_pkgdataDATA_INSTALL = $(install_sh_DATA)
+ DATA = $(nobase_dist_pkgdata_DATA)
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+-pkgdatadir = $(datadir)/games/$(PACKAGE)/data/tracks
++pkgdatadir = $(datadir)/$(PACKAGE)/data/tracks
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
diff --git a/games/supertuxkart/patches/fix-bin-directory.diff b/games/supertuxkart/patches/fix-bin-directory.diff
new file mode 100644
index 000000000000..095b731c687d
--- /dev/null
+++ b/games/supertuxkart/patches/fix-bin-directory.diff
@@ -0,0 +1,53 @@
+diff -Naur supertuxkart-0.6.1a.orig/src/Makefile.am supertuxkart-0.6.1a/src/Makefile.am
+--- supertuxkart-0.6.1a.orig/src/Makefile.am 2009-02-16 01:23:45.000000000 +0000
++++ supertuxkart-0.6.1a/src/Makefile.am 2009-05-14 06:54:40.000000000 +0000
+@@ -2,10 +2,10 @@
+
+ SUBDIRS = ide
+
+-bindir=$(prefix)/games
++bindir=$(prefix)/bin
+ bin_PROGRAMS = supertuxkart
+
+-AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
++AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/$(PACKAGE)/\"" \
+ -I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
+
+ supertuxkart_SOURCES = \
+diff -Naur supertuxkart-0.6.1a.orig/src/Makefile.in supertuxkart-0.6.1a/src/Makefile.in
+--- supertuxkart-0.6.1a.orig/src/Makefile.in 2009-02-18 23:30:42.000000000 +0000
++++ supertuxkart-0.6.1a/src/Makefile.in 2009-05-14 08:49:48.000000000 +0000
+@@ -226,7 +226,7 @@
+ am__quote = @am__quote@
+ am__tar = @am__tar@
+ am__untar = @am__untar@
+-bindir = $(prefix)/games
++bindir = $(prefix)/bin
+ build = @build@
+ build_alias = @build_alias@
+ build_cpu = @build_cpu@
+@@ -271,7 +271,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = ide
+-AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
++AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/$(PACKAGE)/\"" \
+ -I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
+
+ supertuxkart_SOURCES = \
+diff -Naur supertuxkart-0.6.1a.orig/data/supertuxkart_desktop.template supertuxkart-0.6.1a/data/supertuxkart_desktop.template
+--- supertuxkart-0.6.1a.orig/data/supertuxkart_desktop.template 2009-01-28 22:57:49.000000000 +0000
++++ supertuxkart-0.6.1a/data/supertuxkart_desktop.template 2009-05-14 09:01:44.000000000 +0000
+@@ -8,10 +8,10 @@
+ Comment[fr_FR]=Un jeu de karting
+ Comment[ro_RO]=Un joc de curse cu carturi
+ Comment[de_DE]=Ein Kart-Rennspiel
+-Exec=PREFIX/games/supertuxkart --log=file
++Exec=PREFIX/bin/supertuxkart --log=file
+ Terminal=false
+ StartupNotify=false
+ Type=Application
+-TryExec=PREFIX/games/supertuxkart
++TryExec=PREFIX/bin/supertuxkart
+ Categories=Game;ArcadeGame
+ GenericName=
diff --git a/games/supertuxkart/slack-desc b/games/supertuxkart/slack-desc
new file mode 100644
index 000000000000..29c024134995
--- /dev/null
+++ b/games/supertuxkart/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+supertuxkart: supertuxkart (A 3D Kart racing game)
+supertuxkart:
+supertuxkart: A new and improved version of TuxKart, a kart racing game featuring
+supertuxkart: Tux and his friends.
+supertuxkart:
+supertuxkart: Homepage: http://supertuxkart.sourceforge.net/
+supertuxkart:
+supertuxkart:
+supertuxkart:
+supertuxkart:
+supertuxkart:
diff --git a/games/supertuxkart/supertuxkart.6 b/games/supertuxkart/supertuxkart.6
new file mode 100644
index 000000000000..803069549b94
--- /dev/null
+++ b/games/supertuxkart/supertuxkart.6
@@ -0,0 +1,72 @@
+.\" This manpage has been automatically generated by docbook2man
+.\" from a DocBook document. This tool can be found at:
+.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
+.\" Please send any bug reports, improvements, comments, patches,
+.\" etc. to Steve Cheng <steve@ggi-project.org>.
+.TH "SUPERTUXKART" "6" "13 May 2009" "" ""
+
+.SH NAME
+supertuxkart \- A Kart Game Featuring Tux and Friends
+.SH SYNOPSIS
+
+\fBsupertuxkart\fR
+
+.SH "OPTIONS"
+.PP
+This program accepts some optional parameters.
+.TP
+\fB -N --no-start-screen \fR
+Quick race
+.TP
+\fB -t --track \fR
+Start at track NAME (see --list-tracks)
+.TP
+\fB -l --list-tracks \fR
+Show available tracks.
+.TP
+\fB -k --numkarts \fR
+Number of karts on the racetrack
+.TP
+\fB --kart NAME \fR
+Use kart number NAME
+.TP
+\fB --list-karts \fR
+Show available karts.
+.TP
+\fB --laps n \fR
+Define number of laps to n
+.TP
+\fB --players n \fR
+Define number of players to between 1 and 4.
+.TP
+\fB --reverse \fR
+Enable reverse mode
+.TP
+\fB --mirror \fR
+Enable mirror mode (when supported)
+.TP
+\fB -f --fullscreen \fR
+Fullscreen display.
+.TP
+\fB -w --windowed \fR
+Windowed display. (default)
+.TP
+\fB -s --screensize WIDTHxHEIGHT \fR
+Set the screen size (e.g. 320x200)
+.TP
+\fB -v --version \fR
+Show version
+.SH "FILES"
+.TP
+\fB\fI$(HOME)/.supertuxkart/\fB\fR
+Configuration directory.
+.SH "AUTHOR"
+.PP
+This manual page was written by Gonéri Le Bouder <<goneri@rulezlan.org>> for
+the Debian system (but may be used by others). Permission is
+granted to copy, distribute and/or modify this document under
+the terms of the GNU General Public License, Version 2 any
+later version published by the Free Software Foundation.
+.PP
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL.
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild
new file mode 100644
index 000000000000..f8c68168b6ac
--- /dev/null
+++ b/games/supertuxkart/supertuxkart.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/sh
+
+# Slackware build script for supertuxkart
+
+# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+PRGNAM=supertuxkart
+VERSION=${VERSION:-0.6.1a}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# The Makefile's don't respect directory variables given to configure.
+# Let's fix that.
+patch -p1 < $CWD/patches/Makefile_am.diff
+patch -p1 < $CWD/patches/Makefile_in.diff
+patch -p1 < $CWD/patches/fix-bin-directory.diff
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localedir=/usr/share/locale \
+ --datadir=/usr/share \
+ --enable-debug=no \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/man/man6
+gzip -9c $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
+
+# Remove unneeded directories/files.
+rm -rf $PKG/usr/share/doc
+rm -f $PKG/usr/share/locale/{*.po,*.pot}
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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 n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/games/supertuxkart/supertuxkart.info b/games/supertuxkart/supertuxkart.info
new file mode 100644
index 000000000000..22c6aba6bd2c
--- /dev/null
+++ b/games/supertuxkart/supertuxkart.info
@@ -0,0 +1,8 @@
+PRGNAM="supertuxkart"
+VERSION="0.6.1a"
+HOMEPAGE="http://supertuxkart.sourceforge.net/"
+DOWNLOAD="http://downloads.sourceforge.net/sourceforge/supertuxkart/supertuxkart-0.6.1a.tar.bz2"
+MD5SUM="2617a0de97f604ca692fcbd685e742ef"
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"
+APPROVED="dsomero"