summarylogtreecommitdiffstats
path: root/0001-Change-instalation-path-to-be-Arch-linux-friendly.patch
blob: 49a2132f78891d9f6d7b1acb08bd9f431bee227f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 74a4dbfd9950a2713327cb5ea1de4bdeec8cabaf Mon Sep 17 00:00:00 2001
From: Waffle <waffle.lapkin@gmail.com>
Date: Tue, 19 May 2020 11:17:13 +0300
Subject: [PATCH] Change instalation path to be Arch linux friendly

---
 src/AniLibria.pro | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/AniLibria.pro b/src/AniLibria.pro
index 58fdddf..33da0f8 100644
--- a/src/AniLibria.pro
+++ b/src/AniLibria.pro
@@ -92,14 +92,9 @@ QML_IMPORT_PATH =
 # Additional import path used to resolve QML modules just for Qt Quick Designer
 QML_DESIGNER_IMPORT_PATH =
 
-# Default rules for deployment.
-qnx: target.path = /tmp/$${TARGET}/bin
-else: unix:!android: target.path = /opt/$${TARGET}/bin
-
-!isEmpty(target.path) {
-    unix: INSTALLS += target desktop $${UNIX_ICONS}
-    else:macx: INSTALLS += target
-}
+# Arch linux common instalation path
+target.path = /usr/bin
+INSTALLS += target desktop $${UNIX_ICONS}
 
 HEADERS += \
     Classes/Models/changesmodel.h \
-- 
2.26.2