diff options
author | Judd Vinet <judd@archlinux.org> | 2004-07-03 06:25:48 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-07-03 06:25:48 +0200 |
commit | f6661379c68b541115efe25285965bbd4eb32d25 (patch) | |
tree | 270ebd31a01ead27fd676ebac673a909cfc08534 /doc/makepkg.8.in | |
parent | a2ee533f84aa858df5710d799c52b7d06a77b1de (diff) | |
download | pacman-f6661379c68b541115efe25285965bbd4eb32d25.tar.gz pacman-f6661379c68b541115efe25285965bbd4eb32d25.tar.xz |
Imported from pacman-2.8.tar.gz
Diffstat (limited to 'doc/makepkg.8.in')
-rw-r--r-- | doc/makepkg.8.in | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/doc/makepkg.8.in b/doc/makepkg.8.in index 27461315..63d417e1 100644 --- a/doc/makepkg.8.in +++ b/doc/makepkg.8.in @@ -1,4 +1,4 @@ -.TH makepkg 8 "April 29, 2004" "makepkg #VERSION#" "" +.TH makepkg 8 "July 2, 2004" "makepkg #VERSION#" "" .SH NAME makepkg \- package build utility .SH SYNOPSIS @@ -120,12 +120,20 @@ itself" after installation and do the opposite right before it is removed. The exact time the script is run varies with each operation: .TP +.B pre_install +script is run right before files are extracted. + +.TP .B post_install -script is run right after files are installed. +script is run right after files are extracted. + +.TP +.B pre_upgrade +script is run right before files are extracted. .TP .B post_upgrade -script is run after all files have been upgraded. +script is run after files are extracted. .TP .B pre_remove @@ -152,6 +160,14 @@ The install script does not need to be specified in the \fIsource\fP array. .RS .nf # arg 1: the new package version +pre_install() { + # + # do pre-install stuff here + # + /bin/true +} + +# arg 1: the new package version post_install() { # # do post-install stuff here @@ -161,6 +177,15 @@ post_install() { # arg 1: the new package version # arg 2: the old package version +pre_upgrade() { + # + # do pre-upgrade stuff here + # + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version post_upgrade() { # # do post-upgrade stuff here @@ -221,6 +246,11 @@ This field contains an optional URL that is associated with the piece of softwar being packaged. This is typically the project's website. .TP +.B license +Sets the license type (eg, "GPL", "BSD", "NON-FREE"). (\fBNote\fP: This +option is still in development and may change in the future) + +.TP .B install Specifies a special install script that is to be included in the package. This file should reside in the same directory as the PKGBUILD, and will be @@ -328,6 +358,10 @@ Output syntax and commandline options. .B "\-i, \-\-install" Install/Upgrade the package after a successful build. .TP +.B "\-j <jobs>" +Sets MAKEFLAGS="-j<jobs>" before building the package. This is useful for overriding +the MAKEFLAGS setting in /etc/makepkg.conf. +.TP .B "\-m, \-\-nocolor" Disable color in output messages .TP |