base-files: install /usr/lib32 symlink on i686

This commit is contained in:
Cameron Nemo 2019-12-14 15:40:22 -08:00 committed by Juan RP
parent b8f7f91f8e
commit 23ff926700
3 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,8 @@
# This hook removes the /usr/lib32 symlink on x86.
# This hook removes the /usr/lib32 symlink on 32-bit systems.
hook() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
[ "${pkgname}" != "base-files" ]; then
rm -f ${PKGDESTDIR}/usr/lib32
fi
}

View File

@ -1,7 +1,8 @@
# This hook creates the /usr/lib32 symlink for x86.
# This hook creates the /usr/lib32 symlink for 32-bit systems.
hook() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
if [ "$XBPS_TARGET_WORDSIZE" = "32" ] && \
[ "${pkgname}" != "base-files" ]; then
vmkdir usr/lib
ln -sf lib ${PKGDESTDIR}/usr/lib32
fi

View File

@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.140
revision=9
revision=10
bootstrap=yes
depends="xbps-triggers"
short_desc="Void Linux base system files"