Created
April 8, 2013 12:11
-
-
Save anonymous/5336351 to your computer and use it in GitHub Desktop.
CorsixTH PKGBUILD with luajit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD 2013-04-08 14:05:00.323112271 +0200 | |
+++ PKGBUILD_original 2013-04-08 14:08:50.506460224 +0200 | |
@@ -8,7 +8,7 @@ url='http://corsix-th.googlecode.com/' | |
arch=('i686' 'x86_64' 'armv7h') | |
license=('MIT') | |
makedepends=('cmake') | |
-depends=('luajit' 'sdl_mixer' 'ffmpeg' 'timidity-freepats') | |
+depends=('lua51' '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/luajit-2.0 \ | |
- -D LUA_LIBRARY=/usr/lib/libluajit-5.1.so \ | |
+ -D LUA_INCLUDE_DIR=/usr/include/lua5.1 \ | |
+ -D LUA_LIBRARY=/usr/lib/liblua5.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