aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-busted
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-03-30 08:10:51 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-30 08:10:51 +0000
commitc9c599f319685aa4afa70d04d343d5e58cb006a0 (patch)
tree9c6c53ed11bb70f4d83d58b4019130ac21c758a8 /community/lua-busted
parent9cc95288a9afd80e37d837ab5006db7d52bf3ac3 (diff)
downloadaports-c9c599f319685aa4afa70d04d343d5e58cb006a0.tar.bz2
aports-c9c599f319685aa4afa70d04d343d5e58cb006a0.tar.xz
community/lua-busted: don't attempt to install luajit
Diffstat (limited to 'community/lua-busted')
-rw-r--r--community/lua-busted/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/community/lua-busted/APKBUILD b/community/lua-busted/APKBUILD
index 6cc5572537..af93b73882 100644
--- a/community/lua-busted/APKBUILD
+++ b/community/lua-busted/APKBUILD
@@ -4,7 +4,7 @@ pkgname=lua-busted
_pkgname=busted
pkgver=2.0_rc12
_pkgver=${pkgver/_/.}-1
-pkgrel=1
+pkgrel=2
pkgdesc="Elegant Lua unit testing"
url="https://olivinelabs.com/busted/"
arch="noarch"
@@ -12,8 +12,7 @@ license="MIT"
# Note: We have replaced dkjson with lua-cjson.
depends="lua-cliargs lua-filesystem lua-system lua-cjson lua-say
lua-luassert lua-term lua-penlight lua-mediator"
-checkdepends="luajit"
-subpackages=""
+[ "$CARCH" == "s390x" ] && [ "$CARCH" == "ppc64le" ] && checkdepends="" || checkdepends="luajit"
source="$pkgname-$pkgver.tar.gz::https://github.com/Olivine-Labs/$_pkgname/archive/v$_pkgver.tar.gz
fix-tests.patch
use-cjson.patch"