mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 11:55:12 -05:00
doc: fix up description of where example PKGBUILD is located
As Allan pointed out, this actually ships with pacman (at least with Arch) and not necessarily with ABS or any other package. Also fix the language dealing with the prototype install files. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
10b0acfc20
commit
f03f09011f
@ -86,10 +86,13 @@ endif
|
|||||||
|
|
||||||
html: $(HTML_DOCS)
|
html: $(HTML_DOCS)
|
||||||
|
|
||||||
|
pkgdatadir = ${datadir}/${PACKAGE}
|
||||||
|
|
||||||
ASCIIDOC_OPTS = \
|
ASCIIDOC_OPTS = \
|
||||||
-f asciidoc.conf \
|
-f asciidoc.conf \
|
||||||
-a pacman_version="$(REAL_PACKAGE_VERSION)" \
|
-a pacman_version="$(REAL_PACKAGE_VERSION)" \
|
||||||
-a pacman_date="`date +%Y-%m-%d`" \
|
-a pacman_date="`date +%Y-%m-%d`" \
|
||||||
|
-a pkgdatadir=$(pkgdatadir) \
|
||||||
-a sysconfdir=$(sysconfdir)
|
-a sysconfdir=$(sysconfdir)
|
||||||
|
|
||||||
A2X_OPTS = \
|
A2X_OPTS = \
|
||||||
|
@ -20,12 +20,10 @@ 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
|
PKGBUILD is written, the actual package is built using makepkg and installed
|
||||||
with pacman.
|
with pacman.
|
||||||
|
|
||||||
NOTE: If you are using Arch Linux and have a local copy of the Arch Build
|
NOTE: An example PKGBUILD, useful for reference, is located in '{pkgdatadir}'.
|
||||||
System (ABS) tree on your computer, or are using another distribution that
|
Also located there are other example files such as a ChangeLog and an install
|
||||||
provides a similar tree of build files, you can copy the provided
|
script. You can copy the provided PKGBUILD.proto file to a new package build
|
||||||
PKGBUILD.proto file to a new package build directory and make customizations to
|
directory and make customizations to suit your needs.
|
||||||
suit your needs. An up to date prototype file can also be found in the source
|
|
||||||
distribution of this package.
|
|
||||||
|
|
||||||
|
|
||||||
Options and Directives
|
Options and Directives
|
||||||
@ -324,9 +322,8 @@ same directory as the PKGBUILD script. Then use the install directive:
|
|||||||
install=pkgname.install
|
install=pkgname.install
|
||||||
|
|
||||||
The install script does not need to be specified in the source array. A
|
The install script does not need to be specified in the source array. A
|
||||||
template install file is available with the source distribution of this
|
template install file is available in '{pkgdatadir}' as 'proto.install' for
|
||||||
program, or one may be provided by your distribution. For example, Arch Linux
|
reference with all of the available functions defined.
|
||||||
provides prototype install files in the ABS tree.
|
|
||||||
|
|
||||||
|
|
||||||
Development Directives
|
Development Directives
|
||||||
|
Loading…
Reference in New Issue
Block a user