> curl https://raw.githubusercontent.com/apex/apex/master/install.s... | sh

When did package manager go out of style?

Every time I look into packaging it seems like it has become even more of an arcane art (or I just don't know what to search for). Most guides and tools seem to aim at package maintainers for individual distros, which have different needs then someone wanting to package their individual software for as many distros as possible.

What are the tools to use to solve this?

FPM[1] will get you most of the way there, but your packages are still going to seem a bit out of place unless you make distro specific changes.

[1] https://github.com/jordansissel/fpm