I hope your definition of building from scratch means:
Forging the barrel from locally produced wrought iron. Constructing your own taps, dies, screws, all lock parts including springs, breeching, boring and rifling, (all in your own built rifling jig), sand casting your own brass or steel...