Telling pkgbuild to use a non-default local http publisher doesn't work - the code in ips_utils.pm is unable to find/identify it.
$ pkg publisher
PUBLISHER TYPE STATUS URI
SFE origin online http://localhost:10000/
There seems to be support for this in the code, but the relevant block isn't executed where it should be.
See the attached patch for a change that makes it work for me.