mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-23 23:01:05 +01:00
10 lines
267 B
Bash
10 lines
267 B
Bash
# This hook creates the wordsize specific libdir symlink.
|
|
|
|
hook() {
|
|
if [ -L ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE} ]; then
|
|
return 0
|
|
elif [ "${pkgname}" != "base-files" ]; then
|
|
vmkdir usr/lib
|
|
ln -sf lib ${PKGDESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}
|
|
fi
|
|
}
|