Evaluate whether we could divert files that were installed to exchange dirs into the pkg out directory. e.g. for gobject-introspection, we want girdir=/ro/share/gir-1.0, but the package needs to install files to $DESTDIR/ro/gobject-introspection-amd64-1.x/out/share/gir-1.0
That way, packages would no longer need to be made aware of different paths at install-time vs. runtime, removing one thing to change
Test with e.g.
[x] gettext or kbd (--datadir=/ro/share)
[x] zsh (FPATH should contain /ro/share/zsh/site-functions)
[x] would also remove pkgs/glib-networking/fix-path.patch
Evaluate whether we could divert files that were installed to exchange dirs into the pkg out directory. e.g. for gobject-introspection, we want girdir=/ro/share/gir-1.0, but the package needs to install files to $DESTDIR/ro/gobject-introspection-amd64-1.x/out/share/gir-1.0
That way, packages would no longer need to be made aware of different paths at install-time vs. runtime, removing one thing to change
Test with e.g.