On Os X, when using the jpackage command line tool, how to setup the icon used in the pkg file? Is there an additional property which can be set?
I normally don't use the PKG format so I don't know this myself but did you look into the documentation here override-jpackage-resources? This section is dedicated to such questions.