build_remote_src function

Build remote source configuration