diff options
author | actionless | 2021-03-31 08:16:00 +0200 |
---|---|---|
committer | actionless | 2021-04-02 18:28:55 +0200 |
commit | 672330ba5ae9beffabf9dbbd4d6aae8f00663ecf (patch) | |
tree | 0a8a6fd3c78a48f79f0307ae6d2aca93a3345ee5 | |
parent | e0b40655c3ce9fb2433307de2cf38d6372674fe4 (diff) | |
download | aur-672330ba5ae9beffabf9dbbd4d6aae8f00663ecf.tar.gz |
fix lua executable detection
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -59,12 +59,6 @@ pkgver() { git describe | sed 's/^v//;s/-/./g' } -prepare() { - cd $pkgname - sed -i 's/COMMAND lua\b/COMMAND luajit/' awesomeConfig.cmake tests/examples/CMakeLists.txt - sed -i 's/LUA_COV_RUNNER lua\b/LUA_COV_RUNNER luajit/' tests/examples/CMakeLists.txt -} - build() { mkdir -p build cd build @@ -74,7 +68,8 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DSYSCONFDIR=/etc \ -DLUA_INCLUDE_DIR=/usr/include/luajit-2.0 \ - -DLUA_LIBRARY=/usr/lib/libluajit-5.1.so + -DLUA_LIBRARY=/usr/lib/libluajit-5.1.so \ + -DLUA_EXECUTABLE=/usr/bin/luajit make } |