In The Phantom Menace we see Qui-Gon attempt to cut through a blast door with his lightsaber. It isn't a particularly speedy process and he doesn't attempt to cut through any of the hull material around the door either.
Furthermore in The Empire Strikes Back Luke uses his lightasber to destroy a control panel to open a door rather than simply cut through the hull of the AT-AT which appears to be a heavily armoured vehicle.
However lightsabers seem to have no trouble cutting through smaller lighter materials - guardrails, speeder control vanes, and so on.
From that I think that we can safely deduce that a lightsaber is not a very effective weapon against starships compared to a blaster even assuming that they could be mass produced or sized up as starship weapons.
Secondly, the only lightsabers we see in film canon are in the hands of Jedi and each lightsaber appears to be unique and individually crafted. All of which implies that they are rare and probably difficult to manufacture, possibly only by someone with Force abilities.
Thus the answer to can a starship sized lightsaber be manufactured is almost certainly no, it cannot. However this theory is only supported by the absence of such weapons and the points above.