post_install() {
  local MINGW_PREFIX="/clangarm64"
  local MINGW_PREFIX_WIN="$(cygpath -am "${MINGW_PREFIX}")"
  sed \
    -e "s|${MINGW_PREFIX}|${MINGW_PREFIX_WIN}|g" \
    -e "s|/|\\\\|g" \
    -i \
    "${MINGW_PREFIX}/bin/mecabrc"
}

post_upgrade() {
  post_install
}
