There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages prepare-hooks-extract https://github.com/void-linux/void-packages/pull/40244 DO NOT MERGE: Check build for code cleanup for auto-create_wrksrc #### Testing the changes - I tested the changes in this PR: **NO** (only build to confirm xbps-src still works) A patch file from https://github.com/void-linux/void-packages/pull/40244.patch is attached