Skip to content

@dobo90 /gist:5336363
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CorsixTH PKGBUILD with luajit support
--- PKGBUILD_original 2013-04-08 14:08:50.506460224 +0200
+++ PKGBUILD 2013-04-08 14:05:00.323112271 +0200
@@ -8,7 +8,7 @@ url='http://corsix-th.googlecode.com/'
arch=('i686' 'x86_64' 'armv7h')
license=('MIT')
makedepends=('cmake')
-depends=('lua51' 'sdl_mixer' 'ffmpeg' 'timidity-freepats')
+depends=('luajit' 'sdl_mixer' 'ffmpeg' 'timidity-freepats')
source=("${url}files/CorsixTH-${pkgver}-Source.tar.gz"
'bin')
sha1sums=('236ed7cd898a8676d9d3709571d5b13c4033e6a3'
@@ -21,8 +21,8 @@ sha1sums=('236ed7cd898a8676d9d3709571d5b
build() {
cd "${srcdir}/CorsixTH-${pkgver}-Source"
cmake \
- -D LUA_INCLUDE_DIR=/usr/include/lua5.1 \
- -D LUA_LIBRARY=/usr/lib/liblua5.1.so \
+ -D LUA_INCLUDE_DIR=/usr/include/luajit-2.0 \
+ -D LUA_LIBRARY=/usr/lib/libluajit-5.1.so \
-D CMAKE_INSTALL_PREFIX=/usr/share/ \
-D CMAKE_BUILD_TYPE=Release \
-Wno-dev .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.