r426 - packages/cube/cube-data/trunk/debian

Gonéri Le Bouder goneri-guest at costa.debian.org
Tue Apr 4 19:50:17 UTC 2006


Author: goneri-guest
Date: 2006-04-04 19:50:17 +0000 (Tue, 04 Apr 2006)
New Revision: 426

Added:
   packages/cube/cube-data/trunk/debian/cube-client-nonfree
   packages/cube/cube-data/trunk/debian/cube-client-nonfree.desktop
   packages/cube/cube-data/trunk/debian/cube-client-nonfree.menu
   packages/cube/cube-data/trunk/debian/cube-server-nonfree
Modified:
   packages/cube/cube-data/trunk/debian/control
   packages/cube/cube-data/trunk/debian/rules
Log:
menu/desktop files
warpper scripts


Modified: packages/cube/cube-data/trunk/debian/control
===================================================================
--- packages/cube/cube-data/trunk/debian/control	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/control	2006-04-04 19:50:17 UTC (rev 426)
@@ -7,7 +7,20 @@
 Standards-Version: 3.6.2
 
 Package: cube-data
-Architecture: any
+Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: <insert up to 60 chars description>
  <insert long description, indented with spaces>
+
+Package: cube-client-nonfree
+Architecture: amd64 
+Depends: ${shlibs:Depends}, ${misc:Depends}, cube-data
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
+Package: cube-server-nonfree
+Architecture: amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, cube-data
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+

Added: packages/cube/cube-data/trunk/debian/cube-client-nonfree
===================================================================
--- packages/cube/cube-data/trunk/debian/cube-client-nonfree	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/cube-client-nonfree	2006-04-04 19:50:17 UTC (rev 426)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+DATADIR=/usr/share/cube/
+
+cd $DATADIR
+exec  /usr/games/cube-client-nonfree.bin $*


Property changes on: packages/cube/cube-data/trunk/debian/cube-client-nonfree
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/cube/cube-data/trunk/debian/cube-client-nonfree.desktop
===================================================================
--- packages/cube/cube-data/trunk/debian/cube-client-nonfree.desktop	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/cube-client-nonfree.desktop	2006-04-04 19:50:17 UTC (rev 426)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Cube (non-free)
+Comment=first person shooter game
+Exec=/usr/games/cube-client-nonfree
+Icon=cube
+Terminal=false
+Type=Application
+Categories=Application;Game;ArcadeGame

Added: packages/cube/cube-data/trunk/debian/cube-client-nonfree.menu
===================================================================
--- packages/cube/cube-data/trunk/debian/cube-client-nonfree.menu	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/cube-client-nonfree.menu	2006-04-04 19:50:17 UTC (rev 426)
@@ -0,0 +1,4 @@
+?package(cube-client-nonfree):needs="X11" section="Games/Arcade" \
+  title="enemylines3" command="/usr/games/cube-client-nonfree" \
+  longtitle="first person shooter game" \
+  icon="enemylines3.xpm"

Added: packages/cube/cube-data/trunk/debian/cube-server-nonfree
===================================================================
--- packages/cube/cube-data/trunk/debian/cube-server-nonfree	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/cube-server-nonfree	2006-04-04 19:50:17 UTC (rev 426)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+DATADIR=/usr/share/cube/
+
+cd $DATADIR
+exec  /usr/games/cube-server-nonfree.bin $*


Property changes on: packages/cube/cube-data/trunk/debian/cube-server-nonfree
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/cube/cube-data/trunk/debian/rules
===================================================================
--- packages/cube/cube-data/trunk/debian/rules	2006-04-03 21:58:20 UTC (rev 425)
+++ packages/cube/cube-data/trunk/debian/rules	2006-04-04 19:50:17 UTC (rev 426)
@@ -24,12 +24,6 @@
 configure-stamp:
 	dh_testdir
 
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 	
 	# Add here commands to configure the package.
 #	dos2unix src/* # FIXME Is it useful?
@@ -68,16 +62,25 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/cube.
-#	$(MAKE) install DESTDIR=$(CURDIR)/debian/cube
-#	dh_install -pcube-client src/cube_client usr/games/cube_client
-	dh_install  data usr/share/cube
-	dh_install  packages usr/share/cube
-	dh_install  docs usr/share/doc/cube
-	dh_install  readme.html usr/share/doc/cube/docs
-	dh_install  autoexec.cfg usr/share/doc/cube
+	dh_install  -pcube-data data usr/share/cube
+	dh_install  -pcube-data packages usr/share/cube
+	dh_install  -pcube-data docs usr/share/doc/cube
+	dh_install  -pcube-data readme.html usr/share/doc/cube/docs
+	dh_install  -pcube-data autoexec.cfg usr/share/doc/cube
 	find debian/cube-data -name '*.txt' -exec rm  -f {} \;
 
+# cube-client-nonfree
+	dh_install -pcube-client-nonfree debian/cube-client-nonfree usr/games
+	dh_install -pcube-client-nonfree bin_unix/linux_client usr/games
+	mv debian/cube-client-nonfree/usr/games/linux_client \
+	 debian/cube-client-nonfree/usr/games/cube-client-nonfree.bin
 
+# cube-server-nonfree
+	dh_install -pcube-server-nonfree debian/cube-server-nonfree usr/games
+	dh_install -pcube-server-nonfree bin_unix/linux_server usr/games
+	mv debian/cube-server-nonfree/usr/games/linux_server \
+	 debian/cube-server-nonfree/usr/games/cube-server-nonfree.bin
+
 # Build architecture-independent files here.
 binary-indep: build install
 # We have nothing to do by default.




More information about the Pkg-games-devel mailing list