This is where I got to, after the discussion at [1]. [1] https://cygwin.com/ml/cygwin-apps/2017-05/msg00050.html
Jon Turney (3): Document src_unpack_hook and src_patch_hook Add src_patch_apply_hook Don't allow SRC_URI or PATCH_URI to depend on ARCH bin/cygport.in | 26 ++++++++++++++++++++++++++ lib/check_funcs.cygpart | 1 + lib/src_prep.cygpart | 41 ++++++++++++++++++++++++++++++++++++----- 3 files changed, 63 insertions(+), 5 deletions(-) -- 2.16.1