summaryrefslogtreecommitdiffstats
path: root/doc/PKGBUILD.5.txt
diff options
context:
space:
mode:
authorJason St. John <jstjohn@purdue.edu>2014-08-07 06:43:19 +0200
committerAllan McRae <allan@archlinux.org>2014-08-09 06:09:33 +0200
commit37634d22e501538e5a4b12105a0b56542841e71f (patch)
treeec81206ebcf217251d0cab606bb914a5b2cf15a9 /doc/PKGBUILD.5.txt
parentdb14815f463c5128a2fc25df8d7570293987e18f (diff)
downloadpacman-37634d22e501538e5a4b12105a0b56542841e71f.tar.gz
pacman-37634d22e501538e5a4b12105a0b56542841e71f.tar.xz
man: Use uniform line spacing between sections
Remove blank lines immediately following section headings. Ensure two blank lines before the start of a new section. Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
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]