anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / editors / mindforger / paths.patch
blobe9b9244f8dbdacdcf9f63979e7fb937141f91add
1 diff --git a/app/app.pro b/app/app.pro
2 index 29f9d9e..15fd2ff 100644
3 --- a/app/app.pro
4 +++ b/app/app.pro
5 @@ -370,7 +370,7 @@ RESOURCES += \
6 # See http://doc.qt.io/qt-5/qmake-advanced-usage.html
8 binfile.files += mindforger
9 -binfile.path = /usr/bin/
10 +binfile.path = $$PREFIX/bin/
11 INSTALLS += binfile
13 # ########################################
14 diff --git a/mindforger.pro b/mindforger.pro
15 index bd4f21d..6bb2dbc 100644
16 --- a/mindforger.pro
17 +++ b/mindforger.pro
18 @@ -43,20 +43,20 @@ app.depends = lib
19 #IMPORTANT: binfile MUST be specified in app/app.pro (project next to/that builds binary)
21 docfiles.files += doc/*
22 -docfiles.path = /usr/share/doc/mindforger/
23 +docfiles.path = $$PREFIX/share/doc/mindforger/
24 INSTALLS += docfiles
26 manfiles.files += man/*
27 -manfiles.path = /usr/share/man/man1/
28 +manfiles.path = $$PREFIX/share/man/man1/
29 INSTALLS += manfiles
31 iconfiles.files += app/resources/icons/*
32 -iconfiles.path = /usr/share/icons/mindforger/
33 +iconfiles.path = $$PREFIX/share/icons/mindforger/
34 INSTALLS += iconfiles
36 # experiment w/ file
37 shortcutfiles.files += app/resources/gnome-shell/mindforger.desktop
38 -shortcutfiles.path = /usr/share/applications/
39 +shortcutfiles.path = $$PREFIX/share/applications/
40 INSTALLS += shortcutfiles
42 # eof