[Lunar-commits] <moonbase> stellarium: Adding a destkop entry.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Fri Feb 26 02:10:47 CET 2010
commit cdc56daf804e08afcddd4d0d93a503e29cf60147
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Feb 25 20:10:47 2010 -0500
stellarium: Adding a destkop entry.
---
qt4-apps/stellarium/BUILD | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/qt4-apps/stellarium/BUILD b/qt4-apps/stellarium/BUILD
index e602fb0..d201745 100644
--- a/qt4-apps/stellarium/BUILD
+++ b/qt4-apps/stellarium/BUILD
@@ -13,4 +13,17 @@
default_make
+ # Desktop menu entry
+ cat > ${MODULE}.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Stellarium
+Comment=3D photo-realistic skies in real time
+Exec=$QTDIR/bin/stellarium
+Icon=$QTDIR/share/$MODULE/data/$MODULE.ico
+Categories=Qt;KDE;Science;
+EOF
+
+ install -D -m644 ${MODULE}.desktop /usr/share/applications/${MODULE}.desktop
+
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list