New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/39732#issuecomment-1275871786 Comment: $wrksrc is pwd, see https://github.com/void-linux/void-packages/blob/master/Manual.md#functions: > Current working directory for functions is set as follows: > > - For pre_fetch, pre_extract, do_clean: . > - For do_fetch, post_fetch: XBPS_BUILDDIR. > - For do_extract through do_patch: wrksrc. > - For post_patch through post_install: build_wrksrc if it is defined, otherwise wrksrc.