In Manjaro you just run this command, there’s a GU package manager as well, but I’ve never used it. Pamac takes care of downloading / building any required dependencies and the AUR repo includes any required patches for the application run well on Arch / Manjaro.
pamac build
I haven’t used Arch in years, but I believe it was something similar.
The whole system is pretty similar to, (but more refined than) FreeBSDs Ports tree.
I saw the scene on Reddit many years ago and thought it was hilarious, so it stuck.