From 3807790567242944fed88f8d77083ecd6036a9b6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 22 May 2014 17:27:30 -0400 Subject: [PATCH] Added desktop file. --- Makefile | 3 ++- NEWS | 3 +++ bs.desktop | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 bs.desktop diff --git a/Makefile b/Makefile index 37ba003..1b00d9c 100644 --- 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 c59ab86..28bd989 100644 --- 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 index 0000000..9c44c29 --- /dev/null +++ b/bs.desktop @@ -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 -- 2.43.0