someone (or you) writes a PKGBUILD script. This usually has instructions like, get the source code from here, run this compile command, run that install command, etc.
you run makepkg, which executes all those commands in a subdirectory (so it doesn't affect your current system) and produces an actual package
you can then run pacman -U <package>, and pacman will install and track this package for you
After you make a package, you can also host your own package repository, and anyone that can access the repo can grab the pre-built package straight from that repository, usually using pacman -S <package>.
Some PKGBUILDs have been vetted and are hosted by the official Arch project (and it's mirrors). These are usually very important, or widely used, packages, e.g. gcc, linux, chromium, etc.
The AUR (or Arch User's Repository) is a large collection of PKGBUILD scripts. They don't normally get pre-built - you have to grab the script and run the makepkg and pacman commands yourself.
Additionally, there are some AUR helpes, which can automate the process of doing this for an AUR package (and for all its dependencies).
By the way, you can have git manage a working-tree that is outside of the git repository, i.e. you run git --git-dir=/path/to/.git --work-tree=/etc <subcommand>.
This is really nice! Thanks to you and whoever else worked on it!
I wonder how long it will take before the arch manpages become the top google result the same way arch wiki is...
The packaging system in arch works like this:
PKGBUILDscript. This usually has instructions like, get the source code from here, run this compile command, run that install command, etc.makepkg, which executes all those commands in a subdirectory (so it doesn't affect your current system) and produces an actual packagepacman -U <package>, and pacman will install and track this package for youAfter you make a package, you can also host your own package repository, and anyone that can access the repo can grab the pre-built package straight from that repository, usually using
pacman -S <package>.Some
PKGBUILDs have been vetted and are hosted by the official Arch project (and it's mirrors). These are usually very important, or widely used, packages, e.g. gcc, linux, chromium, etc.The AUR (or Arch User's Repository) is a large collection of
PKGBUILDscripts. They don't normally get pre-built - you have to grab the script and run themakepkgandpacmancommands yourself.Additionally, there are some AUR helpes, which can automate the process of doing this for an AUR package (and for all its dependencies).
I wonder how many people would notice your user name without this comment...
By the way, you can have git manage a working-tree that is outside of the git repository, i.e. you run
git --git-dir=/path/to/.git --work-tree=/etc <subcommand>.Unless they have non-portable code, eg. assembler.