aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 08:24:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 08:56:47 -0300
commit2be3b15b706a6114c8033b7998706c3b0360f382 (patch)
tree7aa05ffd39bc1546d307a0f56975971b3687e24b
parent9bf791620c6e57040860865d826923033e7fc179 (diff)
downloadaports-2be3b15b706a6114c8033b7998706c3b0360f382.tar.gz
aports-2be3b15b706a6114c8033b7998706c3b0360f382.tar.bz2
aports-2be3b15b706a6114c8033b7998706c3b0360f382.tar.xz
community/lua-dromozoa-utf8: enable luajit on s390x
-rw-r--r--community/lua-dromozoa-utf8/APKBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/community/lua-dromozoa-utf8/APKBUILD b/community/lua-dromozoa-utf8/APKBUILD
index 0e94834d84..bc870921d7 100644
--- a/community/lua-dromozoa-utf8/APKBUILD
+++ b/community/lua-dromozoa-utf8/APKBUILD
@@ -3,23 +3,16 @@
pkgname=lua-dromozoa-utf8
_pkgname=dromozoa-utf8
pkgver=1.15
-pkgrel=0
+pkgrel=1
pkgdesc="Lua 5.3 compatible pure-Lua UTF-8 implementation"
url="https://github.com/dromozoa/dromozoa-utf8/"
arch="noarch"
-license="GPL-3.0"
-depends=""
-checkdepends=""
+license="GPL-3.0-or-later"
+checkdepends="luajit"
source="$pkgname-$pkgver.tar.gz::https://github.com/dromozoa/$_pkgname/archive/v$pkgver.tar.gz
test.sh.patch"
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"
@@ -28,9 +21,7 @@ done
check() {
local out
- cd "$builddir"
-
- local lver; for lver in $_luaversions $_luajit; do
+ local lver; for lver in $_luaversions jit; do
msg "Testing on lua$lver"
./test.sh lua$lver
done