There is a new pull request by tornaria against master on the void-packages repository https://github.com/tornaria/void-packages extract-distfiles https://github.com/void-linux/void-packages/pull/33006 [wip] extract distfiles to tmpdir, then move This was discussed in irc, and it is a very rough and untested draft. Right now what the patch does is: - extract distfiles into a tmpdir - later move to XBPS_BUILDDIR, trying to preserve the same semantics of `wrksrc` and `create_wrksrc` as before. This should not in practice change the current behaviour. I also included, commented out, one idea of an alternative version of the "move" step with different semantics: - if there's a single directory extracted, move that to XBPS_BUILDDIR renaming to $wrksrc - otherwise, move the whole tmpdir into XBPS_BUILDDIR with name $wrksrc. Actually doing the second step would break a lot of builds... A patch file from https://github.com/void-linux/void-packages/pull/33006.patch is attached