New comment by jcgruenhage on void-packages repository https://github.com/void-linux/void-packages/pull/35336#issuecomment-1115826103 Comment: > Can we use create_wrksrc to make sure everything gets cleaned up? I've looked into this for a bit, but it's not quite as trivial as I had hoped. It makes fiddeling with the patches a bit more difficult. I can't find a way to dynamically generate the patch args for the two different extracted tarballs, as `${PATCHESDIR}` is read only and writing it next to the `.patch` file in the `${XBPS_BUILDDIR}` doesn't seem to have any effect. Any idea how to handle this?