Page currently being written
The Tools
To automate many of the tasks of generating an XPK package, xpk-dev-tools was created. If you are using the Xeiso PPA repository then you can install the tools by installing the package xpk-dev-tools.
xpk-create
xpk-create simply generates a few template files for you to modify. Run this in the topmost directory of your game package source.
xpk-build
This tool actually builds the package. It requires xeiso.py and xeiso.ini to be present to build. xpk-build compresses your source folder into an archive, edits some package headers, and then saves it as a .xpk file in the parent directory.