Using your favorite text editor, create a file named pkginfo.
Edit the file and define the five required parameters.
The five required parameters are: PKG, NAME, ARCH, VERSION, and CATEGORY. For more information on these parameters, see Creating a pkginfo File.
Add any optional parameters to the file.
Create your own parameters or see the pkginfo(4) man page for information on the standard parameters.
Save your changes and quit the editor.
This example shows the contents of a valid pkginfo file, with the five required parameters defined, as well as the BASEDIR parameter. The BASEDIR parameter is discussed in more detail in The path Field.
PKG=SUNWcadap NAME=Chip designers need CAD application software to design abc chips. Runs only on xyz hardware and is installed in the usr partition. ARCH=sparc VERSION=release 1.0 CATEGORY=system BASEDIR=/opt |