diff options
Diffstat (limited to 'community/lua-fun')
-rw-r--r-- | community/lua-fun/APKBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/community/lua-fun/APKBUILD b/community/lua-fun/APKBUILD index 9ef7b283ee..826cc6c45c 100644 --- a/community/lua-fun/APKBUILD +++ b/community/lua-fun/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-fun _pkgname=luafun pkgver=0.1.3 -pkgrel=2 +pkgrel=3 pkgdesc="Functional programming library" url="http://rtsisyk.github.io/luafun/" arch="noarch" @@ -22,11 +22,15 @@ done check() { cd "$builddir" - - local lver; for lver in $_luaversions jit; do - msg "Testing on Lua $lver" - lua$lver tests/runtest tests/*.lua || return 1 - done + # luajit not avail for selected arches + if printf "$checkdepends\n" | grep -q "luajit"; then + if [ "$CARCH" != "ppc64le" ] && [ "$CARCH" != "s390x" ]; then + local lver; for lver in $_luaversions jit; do + msg "Testing on Lua $lver" + lua$lver tests/runtest tests/*.lua || return 1 + done + fi + fi } package() { |