New comment by oreo639 on void-packages repository https://github.com/void-linux/void-packages/pull/49146#issuecomment-1981699240 Comment: > we can add an `INSTALL` script There already is one for generating `locale-archive`. You can add `localedef --prefix=. -i C -f UTF-8 --no-archive C.utf8` unconditionally to the install script. For generating them during build, afaict, the outputs generated by this command are endian-specific although you can specify `--big-endian` or `--little-endian`.