summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-01-17 02:45:02 +0100
committerDan McGee <dan@archlinux.org>2009-01-17 02:45:02 +0100
commit3d49d88009341d5cacbbe08fb4f6f6af3ed76ae1 (patch)
tree968ee9b752f02af850494df1c7197f21a9e2f33d /doc
parenta9f030e84c96d57fbcbc7e8af5fc897515ef79e7 (diff)
parente946ee7745a839c0cd9244a3d9b50a3ea15143f9 (diff)
downloadpacman-3d49d88009341d5cacbbe08fb4f6f6af3ed76ae1.tar.gz
pacman-3d49d88009341d5cacbbe08fb4f6f6af3ed76ae1.tar.xz
Merge branch 'am/splitpkg'
* am/splitpkg: makepkg: implement creation of split packages makepkg: Optional argument for run_package and create_package makepkg: hack around tee in run_package function makepkg: add functions for backup and restore of package fields makepkg: add optional package function makepkg: Add PKGBUILD-split.proto
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index 96c7a505..04eacfac 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -256,6 +256,14 @@ If you create any variables of your own in the build function, it is
recommended to use the bash `local` keyword to scope the variable to inside
the build function.
+package() Function
+------------------
+An optional package() function can be specified in addition to the build() function.
+This function is run immediately after the build() function. When specified in
+combination with the fakeroot BUILDENV option in linkman:makepkg.conf[5], fakeroot
+usage will be limited to running the packaging stage. The build() function will be
+run as the user calling makepkg.
+
Install/Upgrade/Remove Scripting
--------------------------------
Pacman has the ability to store and execute a package-specific script when it