File jag-0.2.3-paths.patch of Package jag
Index: jag-0.3.0-src/Game.pro
===================================================================
--- Game.pro
+++ Game.pro
@@ -5,9 +5,9 @@ QT += xml \
opengl
unix: {
TARGET = ./bin/jag
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target
- datas.path = /usr/local/games/jag
+ datas.path = /usr/share/jag
datas.files = data
INSTALLS += datas
LIBS += -lXrandr
Index: jag-0.3.0-src/main.cpp
===================================================================
--- main.cpp
+++ main.cpp
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
// on X11, we'll check if data directory exists locally first
#ifdef Q_WS_X11
if (!QDir(resourcePath).exists())
- resourcePath = "/usr/local/games/jag/data/";
+ resourcePath = "/usr/share/jag/data/";
#endif
langPath = resourcePath + "lang/";
Index: jag-0.3.0-src/editor/editor.pro
===================================================================
--- editor/editor.pro
+++ editor/editor.pro
@@ -4,7 +4,7 @@
unix: {
TARGET = ./bin/jag-editor
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target
}
win32: {