It would be something like this:
FileInputStream fis = new FileInputStream(packageFile);kbuilder.add(ResourceFactory.newInputStreamResource(fis), ResourceType.PKG);
It took me a while to figure it out, but since JBPM5 kinda came out of drools, they use a lot of the same base stuff. So I figured this out initially by reading the drools forums I believe.