summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/guitar/files')
-rw-r--r--app-arch/guitar/files/install.gnome12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/guitar/files/install.gnome b/app-arch/guitar/files/install.gnome
new file mode 100644
index 000000000000..0d3e7a1013f9
--- /dev/null
+++ b/app-arch/guitar/files/install.gnome
@@ -0,0 +1,12 @@
+
+if [ -e ./using_gnome ]; then
+ if [ "$1" = "uninstall" ]; then
+ rm ${D}/`gnome-config --prefix`/share/pixmaps/guiTAR.xpm
+ rm ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities/guiTAR.desktop
+ else
+ ./mkinstalldirs ${D}/`gnome-config --prefix`/share/pixmaps
+ cp -f src/guiTAR.xpm ${D}/`gnome-config --prefix`/share/pixmaps/
+ ./mkinstalldirs ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities
+ cp -f guiTAR.desktop ${D}/`gnome-config --prefix`/share/gnome/apps/Utilities/
+ fi
+fi