Good in GitHub there are versions in source code to compile Arduino 1.8.x to Windows, Macos, Linux but not for Haiku, my idea is if they tell me how I can compile any of these versions for Haiku would be wonderful that I am attentive to your comments.
Not sure if everything is around at the depot, you can checkout the requirements as posted on Gentoo’s page: dev-embedded/arduino – Gentoo Packages
An example recipe from Arch linux: PKGBUILD · main · Arch Linux / Packaging / Packages / arduino · GitLab