hooks: only generate/register 32bit pkgs on x86.
This commit is contained in:
parent
1aa6450b36
commit
3016320cb0
2 changed files with 6 additions and 0 deletions
|
@ -144,6 +144,9 @@ hook() {
|
|||
genpkg ${repo} ${arch} "${_desc}" ${_pkgver} ${binpkg}
|
||||
fi
|
||||
# Generate 32bit pkg.
|
||||
if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then
|
||||
return
|
||||
fi
|
||||
if [ -d "${XBPS_DESTDIR}/${pkgname}-32bit-${version}" ]; then
|
||||
_pkgver=${pkgname}-32bit-${version}_${revision}
|
||||
_desc="${short_desc} (32bit)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue