The building that previously hosted the prominent pub and hotel in Shirley, Southampton will become housing under new ownership.