aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-14 23:07:34 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-26 19:24:24 +0000
commita023a2cf308dbd2ac8c99a4d86218ffd6ed5f252 (patch)
tree0d11977af0029f058b9cd310ecc30c4764d33004
parentaa98f4148cb90cc99e6c0e89dc977869f923d6e2 (diff)
downloadaports-a023a2cf308dbd2ac8c99a4d86218ffd6ed5f252.tar.gz
aports-a023a2cf308dbd2ac8c99a4d86218ffd6ed5f252.tar.bz2
aports-a023a2cf308dbd2ac8c99a4d86218ffd6ed5f252.tar.xz
community/moonscript: enable luajit on all arches
-rw-r--r--community/moonscript/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/moonscript/APKBUILD b/community/moonscript/APKBUILD
index 8e2a9403d4..9db853815c 100644
--- a/community/moonscript/APKBUILD
+++ b/community/moonscript/APKBUILD
@@ -2,24 +2,18 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=moonscript
pkgver=0.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="A language that compiles to Lua"
url="http://moonscript.org"
arch="noarch"
license="MIT"
depends="lua-alt-getopt lua-filesystem lua-lpeg"
-checkdepends="lua-busted"
+checkdepends="lua-busted luajit"
makedepends="luarocks"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/leafo/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
-# luajit is not available for s390x
-case "$CARCH" in
- s390x|aarch64) _luajit="";;
- *) checkdepends="$checkdepends luajit" _luajit="jit";;
-esac
-
_luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do
subpackages="$subpackages lua$_v-$pkgname:_subpackage"
@@ -41,7 +35,7 @@ prepare() {
check() {
cd "$builddir"
- local lver; for lver in $_luaversions $_luajit; do
+ local lver; for lver in $_luaversions; do
msg "Testing on lua$lver"
lua$lver /usr/bin/busted
done