index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jason St. John <jstjohn@purdue.edu> | 2014-08-07 00:43:19 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-09 14:09:33 +1000 |
commit | 37634d22e501538e5a4b12105a0b56542841e71f (patch) | |
tree | ec81206ebcf217251d0cab606bb914a5b2cf15a9 /doc/PKGBUILD.5.txt | |
parent | db14815f463c5128a2fc25df8d7570293987e18f (diff) |
-rw-r--r-- | doc/PKGBUILD.5.txt | 6 |
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 8cab4380..c3365be2 100644 --- a/doc/PKGBUILD.5.txt +++ b/doc/PKGBUILD.5.txt @@ -322,7 +322,6 @@ underscore and the architecture name e.g., 'replaces_x86_64=()'. Packaging Functions ------------------- - In addition to the above directives, PKGBUILDs require a set of functions that provide instructions to build and install the package. As a minimum, the PKGBUILD must contain a `package()` function which installs all the package's @@ -379,6 +378,7 @@ variables for use during the build and install process: located, which is usually the output of `$(pwd)` when makepkg is started. Use of this variable is deprecated and strongly discouraged. + Package Splitting ----------------- makepkg supports building multiple packages from a single PKGBUILD. This is @@ -401,6 +401,7 @@ An optional global directive is available when building a split package: element in the `pkgname` array is used. The variable is not allowed to begin with a hyphen. + Install/Upgrade/Remove Scripting -------------------------------- Pacman has the ability to store and execute a package-specific script when it @@ -448,6 +449,7 @@ The install script does not need to be specified in the source array. A template install file is available in '{pkgdatadir}' as 'proto.install' for reference with all of the available functions defined. + Using VCS Sources[[VCS]] ------------------------ Building a developmental version of a package using sources from a version @@ -489,6 +491,7 @@ The source URL is divided into three components: *svn*;; revision + Example ------- The following is an example PKGBUILD for the 'patch' package. For more @@ -500,6 +503,7 @@ those using Arch Linux, consult the Arch Build System (ABS) tree. include::PKGBUILD-example.txt[] ------------------------------- + See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:makepkg.conf[5] |