build to pkg-build