1 # This hook removes the symlink necessary to fix the wrong install path of
2 # 'gir' files when cross building packages (see pre-install hook). It's a
3 # workaround and not a proper fix. Remove it once the root cause of the problem
6 # Has to be a low number so it runs before remove-empty-dirs
9 [ -z "$CROSS_BUILD" ] && return
10 rm -f "${PKGDESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr"