summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kowaliczek2017-03-28 00:04:45 +0200
committerThomas Kowaliczek2017-03-28 00:04:45 +0200
commit84b616d04ab44e488b7c46cb2cc194f839bf053b (patch)
treed667f70a070ee2d2c67c62e752cdbf686958faf9
parent6f47d38b27af22ed808e1db2ab8f7156d3458f31 (diff)
downloadaur-84b616d04ab44e488b7c46cb2cc194f839bf053b.tar.gz
Added -DWITH_RYZOM_PATCH=ON to compile
Added ryzom_client_patcher into ryzom.sh file because rzyom_sync dont works correctly
-rw-r--r--PKGBUILD2
-rw-r--r--ryzom.sh9
2 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38248be7cee..15641833490 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
#_gui_toolkit=qt # qt or gtk
_build_server=true # set true to build server (default:false)
_build_client=true # set false to don't build client (default:true)
-_CMAKE_COMMON_ARGS=('-DWITH_STATIC=OFF' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA53=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=OFF'.) # cmake arguments for server and client
+_CMAKE_COMMON_ARGS=('-DWITH_STATIC=OFF' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA53=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=OFF' '-DWITH_RYZOM_PATCH=ON'.) # cmake arguments for server and client
_CMAKE_SERVER_ARGS=('-DWITH_RYZOM_SERVER=ON' '-DWITH_RYZOM_CLIENT=OFF' '-DWITH_DRIVER_OPENGL=OFF' '-DWITH_DRIVER_OPENAL=OFF' ) # cmake args for building server
_CMAKE_CLIENT_ARGS=( '-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' ) # cmake args for building client
pkgname=ryzom-hg
diff --git a/ryzom.sh b/ryzom.sh
index e3cff2c6497..aae58c3ec00 100644
--- a/ryzom.sh
+++ b/ryzom.sh
@@ -1,9 +1,10 @@
#!/bin/sh
-if groups | grep games > /dev/null 2>&1 ; then
- ryzom_sync
+if groups | grep games > /dev/null 2>&1 ; then
+ ryzom_sync
+ exec ryzom_client_patcher
exec ryzom_client
-
-else
+
+else
echo "you need to be in games group to run ryzom"
exit 1
fi