main/lua-openrc: explicitly set arch for subpackages

abuild will automatically set arch=noarch to subpackages with -openrc
suffix. This is wrong in this case because this is a lua module for
openrc. We worka round this by explicitly set the arch.
This commit is contained in:
Natanael Copa 2018-05-16 08:39:37 +00:00
parent 18a48b9589
commit f29d16d615

View File

@ -13,7 +13,7 @@ makedepends="openrc-dev bsd-compat-headers"
subpackages="" subpackages=""
for _i in $_luaversions; do for _i in $_luaversions; do
makedepends="$makedepends lua$_i-dev" makedepends="$makedepends lua$_i-dev"
subpackages="$subpackages lua$_i-openrc:split_${_i/./_}" subpackages="$subpackages lua$_i-openrc:split_${_i/./_}:$arch"
done done
source="lua-openrc-$pkgver.tar.gz::https://github.com/ncopa/lua-openrc/archive/v$pkgver.tar.gz source="lua-openrc-$pkgver.tar.gz::https://github.com/ncopa/lua-openrc/archive/v$pkgver.tar.gz
0001-build-fix-for-openrc-0.14.patch 0001-build-fix-for-openrc-0.14.patch