[Lunar-commits] <moonbase> tkdvd: Adding a desktop entry

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Mon Nov 23 22:31:05 CET 2009


commit 8afea153957426da82237b0210edc9e23e205e0d
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Mon Nov 23 16:31:05 2009 -0500

    tkdvd: Adding a desktop entry
---
 cd/tkdvd/BUILD |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/cd/tkdvd/BUILD b/cd/tkdvd/BUILD
index 782689f..44c5d24 100644
--- a/cd/tkdvd/BUILD
+++ b/cd/tkdvd/BUILD
@@ -12,4 +12,17 @@
   install -m 755 -d /usr/share/pixmaps/ &&
   install -m 644 icons/*.png /usr/share/pixmaps/
 
+  # Desktop menu entry
+  cat > ${MODULE}.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=tkdvd
+Comment=GUI to dvd+rw-tools and cdrecord
+Exec=/usr/bin/tkdvd
+Icon=/usr/share/pixmaps/tkdvd-2-32.png
+Categories=Qt;KDE;Utility;
+EOF
+
+  install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop
+
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list