common/hooks: enable by default 32bit pkgs for x86_64.
This commit is contained in:
parent
e060a1284e
commit
a26205c634
3 changed files with 14 additions and 13 deletions
|
@ -144,11 +144,11 @@ hook() {
|
|||
genpkg ${repo} ${arch} "${_desc}" ${_pkgver} ${binpkg}
|
||||
fi
|
||||
# Generate 32bit pkg.
|
||||
if [ -d "${XBPS_DESTDIR}/${pkgname}32-${version}" ]; then
|
||||
_pkgver=${pkgname}32-${version}_${revision}
|
||||
if [ -d "${XBPS_DESTDIR}/${pkgname}-32bit-${version}" ]; then
|
||||
_pkgver=${pkgname}-32bit-${version}_${revision}
|
||||
_desc="${short_desc} (32bit)"
|
||||
binpkg=${_pkgver}.x86_64.xbps
|
||||
PKGDESTDIR="${XBPS_DESTDIR}/${pkgname}32-${version}"
|
||||
PKGDESTDIR="${XBPS_DESTDIR}/${pkgname}-32bit-${version}"
|
||||
genpkg ${repo} x86_64 "${_desc}" ${_pkgver} ${binpkg}
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue