]> thyrsus.com Git - bs.git/commitdiff
Added desktop file.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 22 May 2014 21:27:30 +0000 (17:27 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 22 May 2014 21:27:30 +0000 (17:27 -0400)
Makefile
NEWS
bs.desktop [new file with mode: 0644]

index 37ba0035f69af70dcee772c81e7fea084d605c99..1b00d9cf0c6875241bedc2fd765e35073410970b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ clean:
 cppcheck:
        cppcheck --template gcc --enable=all bs.c
 
+# Note: does not install desktop file.
 install: bs.6 uninstall
        cp bs $(DESTDIR)/usr/bin
        cp bs.6 $(DESTDIR)/usr/share/man/man6/bs.6
@@ -30,7 +31,7 @@ install: bs.6 uninstall
 uninstall:
        rm -f /usr/bin/bs /usr/share/man/man6/bs.6
 
-SOURCES = README COPYING NEWS control bs.c Makefile bs.xml battleship.png 
+SOURCES = README COPYING NEWS control bs.c Makefile bs.xml battleship.png bs.desktop
 
 bs-$(VERSION).tar.gz: $(SOURCES) bs.6
        @ls $(SOURCES) bs.6 | sed s:^:bs-$(VERSION)/: >MANIFEST
diff --git a/NEWS b/NEWS
index c59ab86a12b5709beaff371668cadf490055dc26..28bd989321fa39fc1d924724d2af3632634e0054 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
                        bs project news
 
+Repository head:
+  Added desktop file.
+
 2.9 @ 2012-12-01
   Packaging fixes.  Added icon. cppcheck cleanup.
 
diff --git a/bs.desktop b/bs.desktop
new file mode 100644 (file)
index 0000000..9c44c29
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Battleships
+GenericName=BattleShip game
+Comment=Battleships solitaire game with a color interface
+Icon=battleship
+Exec=bs
+Categories=Game;ArcadeGame;
+Terminal=true