community/lua-fifo: don't rely on install_if in checkdepends

To not complicate dependency graph and also workaround some not yet
described bug in apk.
This commit is contained in:
Jakub Jirutka 2017-11-17 18:02:23 +01:00
parent fbf11b6403
commit 6de63eea13

View File

@ -9,7 +9,7 @@ pkgdesc="FIFO library for Lua"
url="https://github.com/daurnimator/fifo.lua" url="https://github.com/daurnimator/fifo.lua"
arch="noarch" arch="noarch"
license="MIT" license="MIT"
checkdepends="lua-busted" checkdepends=""
subpackages="" subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/$_pkgname/archive/$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver" builddir="$srcdir/$_pkgname-$pkgver"
@ -23,7 +23,7 @@ esac
_luaversions="5.1 5.2 5.3" _luaversions="5.1 5.2 5.3"
for _v in $_luaversions; do for _v in $_luaversions; do
subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage" subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage"
checkdepends="$checkdepends lua$_v" checkdepends="$checkdepends lua$_v lua$_v-busted"
done done
check() { check() {