summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-08-18 16:05:30 +0100
committerNick White <git@njw.me.uk>2012-08-18 16:05:30 +0100
commit327ac78329d8d5c10032ae5157f22c5010d87c3f (patch)
tree8cb6626c1040c94c6f8f514295e35f4e8531d507
parentd819440ed0b94361027de4efde4dbd7a3694b7e0 (diff)
Add .desktop file for getxbook
-rw-r--r--Makefile1
-rw-r--r--getxbook.desktop9
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e41d6e8..33f0d43 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,7 @@ install: all
chmod +x $(DESTDIR)$(PREFIX)/bin/getxbookgui
mkdir -p $(DESTDIR)$(PREFIX)/share/$(NAME)
cp icons/* $(DESTDIR)$(PREFIX)/share/$(NAME)/
+ cp $(NAME).desktop $(DESTDIR)$(PREFIX)/share/applications/
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
for f in $(MAN); do sed "s/VERSION/$(VERSION)/g" < $$f > $(DESTDIR)$(MANPREFIX)/man1/$$f; done
diff --git a/getxbook.desktop b/getxbook.desktop
new file mode 100644
index 0000000..c857f19
--- /dev/null
+++ b/getxbook.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Terminal=false
+Name=getxbook
+Exec=getxbookgui
+Categories=Network
+Comment=Book downloader
+Icon=text-x-generic