We have moved on to using cmake 3.7 support for pkgbuild, as provided via the productbuild cpack generator.