summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh')
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh
new file mode 100644
index 000000000..cd28e88c4
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdelibs/trinity.sh
@@ -0,0 +1,14 @@
+export KDEDIR=/opt/trinity
+export KDEDIRS=$KDEDIR:/usr
+export PATH=$KDEDIR/bin:$PATH
+export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDEDIR/lib/pkgconfig
+if [ ! -z $XDG_DATA_DIRS ]; then
+ export XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDEDIR/share
+else
+ export XDG_DATA_DIRS=$KDEDIR/share
+fi
+if [ ! -z $XDG_CONFIG_DIRS ]; then
+ export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$KDEDIR/etc/xdg
+else
+ export XDG_CONFIG_DIRS=$KDEDIR/etc/xdg
+fi