بسم الله الرحمن الرحيم
If all the conditions necessary for the validation of Jumuah prayer are found then you may offer Jumuah salah in that temporary mosque which is located at the distance of 200 meters. It is not a condition for the validation of Jumuah prayer that five times salah are offered in the mosque. But if there is no problem then you should offer Jumuah salah in the Shariah mosque which is located at the distance of 1.5 km as by doing so you will get the reward of offering salah in Shariah mosque.
Allah knows Best!
Darul Uloom Deoband
This answer was collected from the official ifta website of Darul Uloom Deoband in India.