summarylogtreecommitdiffstats
path: root/0001-Change-instalation-path-to-be-Arch-linux-friendly.patch
blob: c89ac1a8bc585e3eedb36086e7b990c1a77191c7 (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
35
36
37
From e7c23f5ccd46ad7d9446fa7f92c35e7b1f86f8b5 Mon Sep 17 00:00:00 2001
From: Maybe Waffle <waffle.lapkin@gmail.com>
Date: Mon, 16 Jan 2023 14:58:54 +0400
Subject: [PATCH] Change instalation path to be Arch linux friendly

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

diff --git a/src/AniLibria.pro b/src/AniLibria.pro
index da83155..403c137 100644
--- a/src/AniLibria.pro
+++ b/src/AniLibria.pro
@@ -237,17 +237,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.
-!flatpak{
-    qnx: target.path = /tmp/$${TARGET}/bin
-    else: unix:!android: target.path = /opt/$${TARGET}/bin
-}else{
-    target.path = $$PREFIX/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}
 
 flatpak {
     metadata.path = $$PREFIX/share/metainfo
-- 
2.39.0