workspace let's you specify an disk area in a local file system to be chosen by the installer. You can assign such
workspaces names (name) specify that a chosen environment variable (environmentVariable) point to the location of the
work space, minmegs specifies the minimum number of megs of free disk space which must be available at installation time. The
optional owner argument let's you specify the ownership of the directory (the default owner is the installer). The optional
options let's you specify access to the directory and whether it's temporary (to be removed on uninstallation) or permanent
(to be kept even after uninstallation). Permanent is the default. Here are a couple of examples.
workspace("Bob's Temporary Sandbox",'BOB_SCRATCH',1000,'bob','ownerWrite temporary') # temp 1G space
workspace("Bob's Permanent Data Storage",'BOB_DATA',10000,'bob','worldRead permanent')
workspace('General scratch','SCRATCH','- any -','worldWrite temporary')
Use "- any -" to let the directory be owned by the installer. As usual, Pacman will remember the choices that the installer makes, so if a package is uninstalled and re-installed, the questions
won't be asked unless the installer uses -ignore-cookies.