summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsoloturn2020-06-01 09:07:25 +0200
committersoloturn2020-06-01 09:07:25 +0200
commit263fc1dfd55b3c02aba480dcc973050657b12915 (patch)
tree2e5c9cd484e9b49b7fa51eefc5fa065111d99b0d
parent0b6b28689c128d0e143b85bc2fdb7013c2d73389 (diff)
downloadaur-263fc1dfd55b3c02aba480dcc973050657b12915.tar.gz
depend on lua-5.1
see also https://github.com/xmoto/xmoto/issues/76
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 301798bbf6b5..57fdf49408ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ pkgdesc="A challenging 2D motocross platform game, where physics play an importa
arch=('i686' 'x86_64')
url="http://xmoto.tuxfamily.org"
license=('GPL')
-depends=('libjpeg' 'libpng' 'lua52' 'sdl_mixer' 'ode' 'curl' 'sqlite' 'sdl_ttf'
+depends=('libjpeg' 'libpng' 'lua51' 'sdl_mixer' 'ode' 'curl' 'sqlite' 'sdl_ttf'
'sdl_net' 'glu' 'libxdg-basedir' 'libxml2')
makedepends=('cmake' 'ninja' 'git')
conflicts=("$_basename")
@@ -31,7 +31,7 @@ prepare() {
build() {
cd build
- cmake ../${pkgbase} -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+ cmake ../${pkgbase} -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DLUA_INCLUDE_DIR=/usr/include/lua5.1
ninja
ninja xmoto_pack
}