It shall be the duty of every contractor who shall make contracts for the installation or repair of buildings, structures or electrical, gas, mechanical, sprinkler or plumbing systems for which a permit is required, to comply with state or local rules and regulations concerning licensing which the applicable governing authority may have adopted. In such case that the state requires a contractor to have obtained a state license before he is permitted to perform work, the contractor shall supply the county with his license number before receiving a permit for work to be performed.