LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File install-paths.patch of Package goldendict (Project Education)

diff --git a/goldendict.pro b/goldendict.pro
index 69e17a0..4d448bd 100644
--- a/goldendict.pro
+++ b/goldendict.pro
@@ -69,25 +69,19 @@ unix:!mac {
     LIBS += -lX11 \
         -lXtst
     PREFIX = $$(PREFIX)
-    isEmpty( PREFIX ):PREFIX = /usr/local
-    DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/apps/goldendict/\\\"
+    isEmpty( PREFIX ):PREFIX = /usr
+    DEFINES += PROGRAM_DATA_DIR=\\\"$$PREFIX/share/goldendict/\\\"
     target.path = $$PREFIX/bin/
-    locale.path = $$PREFIX/share/apps/goldendict/locale/
+    locale.path = $$PREFIX/share/goldendict/locale/
     locale.files = locale/*.qm
     INSTALLS += target \
         locale
     icons.path = $$PREFIX/share/pixmaps
     icons.files = redist/icons/*.*
     INSTALLS += icons
-    icons2.path = $$PREFIX/share/app-install/icons
-    icons2.files = redist/icons/*.*
-    INSTALLS += icons2
     desktops.path = $$PREFIX/share/applications
     desktops.files = redist/*.desktop
     INSTALLS += desktops
-    desktops2.path = $$PREFIX/share/app-install/desktop
-    desktops2.files = redist/*.desktop
-    INSTALLS += desktops2
 }
 mac {
     TARGET = GoldenDict