aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-04-14 23:11:49 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-26 19:24:24 +0000
commit1573a3b77acc41a313cbab1ed6c9bac76a7d9bff (patch)
tree5e8acf7c4420470928ed287874be6cd61e2822df
parent0b2f94f24af5800de8f48a9a029f2958563d95fa (diff)
downloadaports-1573a3b77acc41a313cbab1ed6c9bac76a7d9bff.tar.gz
aports-1573a3b77acc41a313cbab1ed6c9bac76a7d9bff.tar.bz2
aports-1573a3b77acc41a313cbab1ed6c9bac76a7d9bff.tar.xz
community/lua-lpeg_patterns: enable luajit on all arches
-rw-r--r--community/lua-lpeg_patterns/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/lua-lpeg_patterns/APKBUILD b/community/lua-lpeg_patterns/APKBUILD
index ed06c93357..cf62db792c 100644
--- a/community/lua-lpeg_patterns/APKBUILD
+++ b/community/lua-lpeg_patterns/APKBUILD
@@ -3,23 +3,17 @@
pkgname=lua-lpeg_patterns
_pkgname=lpeg_patterns
pkgver=0.5
-pkgrel=1
+pkgrel=2
pkgdesc="A collection of LPEG patterns"
url="https://github.com/daurnimator/lpeg_patterns"
arch="noarch"
license="MIT"
depends="lua-lpeg"
-checkdepends="lua-busted"
+checkdepends="lua-busted luajit"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
-# luajit is not available for selected arches
-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#lua-}:_subpackage"
@@ -29,7 +23,7 @@ done
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