summaryrefslogtreecommitdiffstats
path: root/doc/makepkg.8.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/makepkg.8.in')
-rw-r--r--doc/makepkg.8.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/makepkg.8.in b/doc/makepkg.8.in
index 041d4fd1..6547cb7e 100644
--- a/doc/makepkg.8.in
+++ b/doc/makepkg.8.in
@@ -1,4 +1,4 @@
-.TH makepkg 8 "December 20, 2003" "makepkg #VERSION#" ""
+.TH makepkg 8 "April 27, 2004" "makepkg #VERSION#" ""
.SH NAME
makepkg \- package build utility
.SH SYNOPSIS
@@ -131,6 +131,10 @@ script is run after all files have been upgraded.
.B pre_remove
script is run right before files are removed.
+.TP
+.B post_remove
+script is run right after files are removed.
+
.RE
To use this feature, just create a file (eg, pkgname.install) and put it in
the same directory as the PKGBUILD script. Then use the \fIinstall\fP directive:
@@ -172,14 +176,21 @@ pre_remove() {
/bin/true
}
+# arg 1: the old package version
+post_remove() {
+ #
+ # do post-remove stuff here
+ #
+ /bin/true
+}
+
op=$1
shift
-
$op $*
.fi
.RE
-This template is also available in your ABS tree (/usr/abs/install.proto).
+This template is also available in your ABS tree (/var/abs/install.proto).
.SH PKGBUILD Directives
.TP