public
Last active

CorsixTH PKGBUILD with luajit support

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
--- 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 .

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.