r1205 - packages/trunk/vdrift/debian

Gonéri Le Bouder goneri-guest at costa.debian.org
Wed Jul 26 21:54:06 UTC 2006


Author: goneri-guest
Date: 2006-07-26 21:54:05 +0000 (Wed, 26 Jul 2006)
New Revision: 1205

Added:
   packages/trunk/vdrift/debian/vdrift.postinst.debhelper
   packages/trunk/vdrift/debian/vdrift.postrm.debhelper
Modified:
   packages/trunk/vdrift/debian/rules
Log:
install pixamp, manpage and fix data files permission


Modified: packages/trunk/vdrift/debian/rules
===================================================================
--- packages/trunk/vdrift/debian/rules	2006-07-26 21:43:19 UTC (rev 1204)
+++ packages/trunk/vdrift/debian/rules	2006-07-26 21:54:05 UTC (rev 1205)
@@ -49,9 +49,15 @@
 	#scons install
 	mkdir -p debian/tmp/usr/games/
 	cp build/vdrift debian/tmp/usr/games/	
+	mkdir -p debian/tmp/usr/share/pixmaps/
+	cp debian/vdrift.xpm debian/tmp/usr/share/pixmaps/
+	mkdir -p debian/tmp/usr/share/applications
+	cp debian/vdrift.desktop debian/tmp/usr/share/applications
 	mkdir -p debian/tmp/usr/share/games/vdrift/
-	cp -R data debian/tmp/usr/share/games/vdrift/
+	cp -R data/* debian/tmp/usr/share/games/vdrift/
 	find debian/tmp/usr -name 'SConscript*' -exec rm -f {} \;
+	find debian/tmp/usr -type f -exec chmod 644 {} \;
+	find debian/tmp/usr -type d -exec chmod 755 {} \;
 
 
 # Build architecture-independent files here.
@@ -67,7 +73,7 @@
 	dh_installexamples
 	dh_install
 	dh_installmenu
-	dh_installman
+	dh_installman debian/vdrift.6
 	dh_link
 	dh_strip
 	dh_compress

Added: packages/trunk/vdrift/debian/vdrift.postinst.debhelper
===================================================================
--- packages/trunk/vdrift/debian/vdrift.postinst.debhelper	2006-07-26 21:43:19 UTC (rev 1204)
+++ packages/trunk/vdrift/debian/vdrift.postinst.debhelper	2006-07-26 21:54:05 UTC (rev 1205)
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+	update-menus
+fi
+# End automatically added section

Added: packages/trunk/vdrift/debian/vdrift.postrm.debhelper
===================================================================
--- packages/trunk/vdrift/debian/vdrift.postrm.debhelper	2006-07-26 21:43:19 UTC (rev 1204)
+++ packages/trunk/vdrift/debian/vdrift.postrm.debhelper	2006-07-26 21:54:05 UTC (rev 1205)
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section




More information about the Pkg-games-commits mailing list