if [[ $NOTO_INSTALL_ICONS == y ]]; then
  cd "${SOURCE_DIRECTORY}/png/" &&
  find . | cpio --pass-through --make-directories --unconditional --verbose \
              "${INSTALL_ROOT}/usr/share/icons/noto-emoji/"
fi &&

rm "${SOURCE_DIRECTORY}"/fonts/Noto{ColorEmoji_WindowsCompatible,-COLRv1,-COLRv1-noflags}.ttf &&

fontdir="$INSTALL_ROOT/usr/share/fonts/TTF/" &&
install -d "$fontdir" &&
find "$SOURCE_DIRECTORY" -iname '*.[ot]tf' -exec install -vm444 -t "$fontdir" {} +
