Package the rest of the locales as glibc-locales
-
Use provided target to install
C.UTF-8locale
The previous code usedlocaledeffrom lib32 and was also missingI18NPATH.The build system already has targets for installing locales, but the split build makes invoking them a bit more difficult.
This installs the locale as
C.utf8, which glibc seems to prefer. -
Use
DESTDIRinstead ofinstall_root
Both work butDESTDIRis less weird. -
Improve shell hygiene
- Rename
skip_test()to_skip_test() - Use subshell to prevent
LDFLAGSchange from leaking out ofcheck() - Use subshells to prevent environment leaks from builds
- Rename
-
Package the rest of the locales as
glibc-locales
These are useful forcheckdepends. Usehardlinkto find duplicate files, which reduces the installed size from 1007 MB to 234 MB.