New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/27193#issuecomment-746883248 Comment: > I am wondering if I could make a nocross package to build the data files and then pull it in for the real espeak-ng package with hostmakedepends. Then it could be coppied to the build directory before the build and the Makefile would detect that the voice dictionaries are already built. Doesn't even need to be nocross. I've done exactly this for the `sdcc` package. Something like: ``` if [ "$CROSS_BUILD" ]; then hostmakedepends+=" espeak-ng" fi pre_build() { if [ "$CROSS_BUILD" ]; then cp -r .... fi } ```