Package the rest of the locales as glibc-locales
-
Use provided target to install
C.UTF-8
locale
The previous code usedlocaledef
from 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
DESTDIR
instead ofinstall_root
Both work butDESTDIR
is less weird. -
Improve shell hygiene
- Rename
skip_test()
to_skip_test()
- Use subshell to prevent
LDFLAGS
change 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
. Usehardlink
to find duplicate files, which reduces the installed size from 1007 MB to 234 MB.