Package: ebook2cwgui / 0.1.2-5

makefile-install-desktop-file.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: create .desktop file and install it
Author: Christoph Feenders <debian@echti.de>

--- /dev/null
+++ ebook2cwgui-0.1.2/ebook2cwgui.desktop
@@ -0,0 +1,10 @@
+
+[Desktop Entry]
+Name=ebook2cw
+GenericName=ebook to Morse Converter
+Comment=Converts ebooks to Morse MP3s/OGGs
+Exec=ebook2cwgui
+Icon=ebook2cw
+Terminal=false
+Type=Application
+Categories=Audio;HamRadio;

--- ebook2cwgui-0.1.2.orig/Makefile
+++ ebook2cwgui-0.1.2/Makefile
@@ -19,9 +19,11 @@ install:
 	install -d -v                      $(DESTDIR)/bin/
 	install -d -v                      $(DESTDIR)/share/pixmaps/
 	install -d -v                      $(DESTDIR)/share/man/man1/
+	install -d -v                      $(DESTDIR)/share/applications/
 	install -s -m 0755 ebook2cwgui     $(DESTDIR)/bin/
 	install    -m 0644 ebook2cw.xpm    $(DESTDIR)/share/pixmaps/
 	install    -m 0644 ebook2cwgui.1   $(DESTDIR)/share/man/man1/
+	install    -m 0644 ebook2cwgui.desktop  $(DESTDIR)/share/applications/
 	
 uninstall:
 	rm -f $(DESTDIR)/bin/ebook2cwgui