void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

00-fixup-gir-path.sh (401B)


      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
      4# is fixed.
      5
      6# Has to be a low number so it runs before remove-empty-dirs
      7
      8hook() {
      9	[ -z "$CROSS_BUILD" ] && return
     10	rm -f "${PKGDESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr"
     11}