aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 03:43:10 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 07:58:06 -0300
commit7b7ca771d78c9022ac82c8e36de326548fbacdb3 (patch)
tree7f6cfa9b6ca7824596fb9ec057e4f2140999a77f
parente4fd96d7c5caabfe7b2c5b01429fdc6da702eef6 (diff)
downloadaports-7b7ca771d78c9022ac82c8e36de326548fbacdb3.tar.gz
aports-7b7ca771d78c9022ac82c8e36de326548fbacdb3.tar.bz2
aports-7b7ca771d78c9022ac82c8e36de326548fbacdb3.tar.xz
community/lua-fifo: enable luajit on s390x
-rw-r--r--community/lua-fifo/APKBUILD13
1 files changed, 2 insertions, 11 deletions
diff --git a/community/lua-fifo/APKBUILD b/community/lua-fifo/APKBUILD
index 98d821f69c..0a47dcd8ed 100644
--- a/community/lua-fifo/APKBUILD
+++ b/community/lua-fifo/APKBUILD
@@ -9,17 +9,10 @@ pkgdesc="FIFO library for Lua"
url="https://github.com/daurnimator/fifo.lua"
arch="noarch"
license="MIT"
-checkdepends="lua-busted"
-subpackages=""
+checkdepends="lua-busted luajit"
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
-# luajit is not available for selected arches
-case "$CARCH" in
- s390x) _luajit="";;
- *) checkdepends="$checkdepends luajit" _luajit="jit";;
-esac
-
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage"
@@ -27,9 +20,7 @@ for _v in $_luaversions; do
done
check() {
- cd "$builddir"
-
- local lver; for lver in $_luaversions $_luajit; do
+ local lver; for lver in $_luaversions jit; do
msg "Testing on lua$lver"
lua$lver /usr/bin/busted
done