post_install() {
  local _prefix="/clangarm64"
  local _prefix_win="$(cygpath -m "${_prefix}")"
  sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}/share/ngspice/scripts/spinit"
}

post_upgrade() {
  post_install
}
