summarylogtreecommitdiffstats
path: root/jpcsp.sh
diff options
context:
space:
mode:
authorbug2015-06-15 18:29:46 +0300
committerbug2015-06-15 18:29:46 +0300
commit7b9d8d6d8f992c1989ac6af119990677e0b71d4a (patch)
treef5250c03bc39eb9cf637c8d540bd1919054ebcc2 /jpcsp.sh
downloadaur-jpcsp-git.tar.gz
Initial import
Diffstat (limited to 'jpcsp.sh')
-rwxr-xr-xjpcsp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jpcsp.sh b/jpcsp.sh
new file mode 100755
index 00000000000..76cfc7021d3
--- /dev/null
+++ b/jpcsp.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+mkdir -p ~/.jpcsp
+cd ~/.jpcsp
+
+if [ `uname -m` == x86_64 ] ; then
+ export LD_LIBRARY_PATH=/opt/jpcsp/lib/linux-amd64:/opt/java/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64
+ else
+ export LD_LIBRARY_PATH=/opt/jpcsp/lib/linux-x86:/opt/java/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-7-openjdk/jre/lib/i386
+fi
+java -jar "/opt/jpcsp/bin/jpcsp.jar"