summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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