summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-12-10 12:06:12 -0600
committerDan McGee <dan@archlinux.org>2007-12-10 21:14:55 -0600
commitbd83a1fd85c0e1e41be998b3633f613bce75f08c (patch)
tree2ada0b3b5399d2a3793da3227b28d558126690d7 /doc
parent90d72bd24f67e1ec32525ca0c36fece4d6364eab (diff)
downloadpacman-bd83a1fd85c0e1e41be998b3633f613bce75f08c.tar.xz
Updates to PKGBUILD manpage
Make the manpage a little more distro agnostic by referring to ABS in the context of Arch Linux, and saying that prototype files are also available with the pacman source. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.txt17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index d022c9af..b3ea4c95 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -20,10 +20,12 @@ This manual page is meant to describe general rules about PKGBUILDs. Once a
PKGBUILD is written, the actual package is built using makepkg and installed
with pacman.
-NOTE: If you have a local copy of the Arch Build System (ABS) tree on your
-computer, you can copy the PKGBUILD.proto file to your new package build
-directory and edit it from there. To acquire/sync the ABS tree, use the abs
-script included with pacman.
+NOTE: If you are using Arch Linux and have a local copy of the Arch Build
+System (ABS) tree on your computer, or are using another distribution that
+provides a similar tree of build files, you can copy the provided
+PKGBUILD.proto file to a new package build directory and make customizations to
+suit your needs. An up to date prototype file can also be found in the source
+distribution of this package.
Options and Directives
@@ -224,7 +226,9 @@ same directory as the PKGBUILD script. Then use the install directive:
install=pkgname.install
The install script does not need to be specified in the source array. A
-template install file is available in the ABS tree (/var/abs/install.proto).
+template install file is available with the source distribution of this
+program, or one may be provided by your distribution. For example, Arch Linux
+provides prototype install files in the ABS tree.
Development Directives
@@ -294,7 +298,8 @@ from.
Example
-------
The following is an example PKGBUILD for the 'patch' package. For more
-examples, look through the ABS tree.
+examples, look through the build files of your distribution's packages. For
+those using Arch Linux, consult the ABS tree.
[sh]
source~~~~~