Re:Let's Package JQuery: A JavaScript Packaging Dystopian No...
by icebraining on Saturday May 02, 2015 @07:29AM
(#9476683)
In Ubuntu/Debian and Fedora/CentOS it is several more commands
In Debian & derivatives it's just "apt-get build-dep git && apt-get source --build git".
yaourt -Sb git
and it will get the PKGBUILD file for the package and allow you to edit it before building so you can build a newer version or alter build flags. When building a package this way, it will also fetch all of the packages it depends on in order to build and run. You generally don't have to think about dependencies at all.
In Ubuntu/Debian and Fedora/CentOS it is several more commands, although there are probably scripts that do it in a single command. It's still a lot easier than manually hunting dependencies and figuring out how exactly to build a package.