summaryrefslogtreecommitdiffstats
path: root/doc/PKGBUILD.5.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/PKGBUILD.5.txt')
-rw-r--r--doc/PKGBUILD.5.txt6
1 files changed, 5 insertions, 1 deletions
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]