[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#427822: .desktop file for adonthell



Package: adonthell-data
Version: 0.3.4.cvs.20050903-3
Tags: patch
Severity: wishlist

 Please consider adding a .desktop file for adonthell.  I believe it
belongs in adonthell-data, as it is architecture-independent, but it
could also be applied to adonthell directly.  Please find attached a
patch with the file and the necessary changes to debian/rules.

--
Emmet HIKORY
diff -u adonthell-data-0.3.4.cvs.20050903/debian/rules adonthell-data-0.3.4.cvs.20050903/debian/rules
--- adonthell-data-0.3.4.cvs.20050903/debian/rules
+++ adonthell-data-0.3.4.cvs.20050903/debian/rules
@@ -61,6 +61,8 @@
                 INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
 #                gamedatadir="$(CURDIR)/debian/adonthell-data/usr/share/games/adonthell-data"
 
+	mkdir -p $(CURDIR)/debian/adonthell-data/usr/share/applications
+	install -m 644 $(CURDIR)/debian/desktop $(CURDIR)/debian/adonthell-data/usr/share/applications/adonthell-data.desktop
 
 # Build architecture-independent files here.
 binary-indep: build install
only in patch2:
unchanged:
--- adonthell-data-0.3.4.cvs.20050903.orig/debian/desktop
+++ adonthell-data-0.3.4.cvs.20050903/debian/desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Adonthell - Waste's Edge
+Comment=This is a 2D graphical role playing game.
+Exec=/usr/games/adonthell-wastesedge
+Icon=wastesedge_16x16
+Terminal=false
+Type=Application
+Categories=Game;2DGraphics;RolePlaying;

Reply to: