FS#4514 - makepkg: undocumented options

Attached to Project: Pacman
Opened by Francois Charette (Firmicus) - Wednesday, 26 April 2006, 13:11 GMT
Last edited by Aaron Griffin (phrakture) - Sunday, 04 February 2007, 01:44 GMT
Task Type Support Request
Status Closed
Assigned To Woody Gilk (Shadowhand)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I learned today by looking at some PKGBUILDs in my ABS tree that several options one can put in a PKGBUILD are not documented in the makepkg manpage (*).
For instance I think many users/developers will like to know that it is possible to simply state
so they don't have to type lines such as
find pkg -depth -type d -empty -exec rmdir {} \;
in their PKGBUILD scripts.

(*) The manpage says that only three options are available in the options=() array: FORCE, NOSTRIP and KEEPDOCS

PS: Contributors to AUR should be strongly encouraged to set this option in their PKGBUILD, don't you think?
Perhaps this should even be the default? Packages that need empty dirs could then set options=(WITHEMPTYDIRS) or the like...
This task depends upon

This task blocks these from closing
 FS#6316 - Pacman 3 release bugcatcher 
Closed by  Dan McGee (toofishes)
Friday, 09 February 2007, 15:24 GMT
Reason for closing:  Implemented
Additional comments about closing:  Added information to manpages.
Comment by Dan McGee (toofishes) - Friday, 09 February 2007, 15:23 GMT
This should be fixed now with the lastest man page updates for pacman 3. All four current options available are documented: strip, docs, libtool, and emptydirs. 'force' is a bit of an anomaly, and I can't remember if that is documented still.