Magnitude 5.0 earthquake shakes eastern Indonesia