Arch Linux
The Arch Linux package manager, pacman, relies on PKGBUILD files to understand how to locate and install software packages. The PKGBUILD file is a specific format of shell script (executable text file for the command line) that describes the package metadata, any dependencies that it must install first, and the installation process for a package. Full details of the PKGBUILD file can be found at wiki.archlinux.org/index.php/PKGBUILD. A valid file must contain at least pkgname, pkgver, pkgrel, and arch variables.
To create a package once the PKGBUILD file is created, you run the makepkg command. This will execute the steps defined in the script file and prepare the resulting package. It is recommended to check the finished package ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access