https://github.com/munki/munki-pkg
munkipkg is a simple tool for building packages in a consistent, repeatable manner from source files and scripts in a project directory.
Files, scripts, and metadata are stored in a way that is easy to track and manage using a version control system like git.
Another tool that solves a similar problem is Joe Block’s The Luggage (https://github.com/unixorn/luggage). If you are happily using The Luggage, you can probably safely ignore this tool.
Though this tool may eventually be added to the set of tools installed with the Munki command-line tools, it’s not currently tied to Munki and can be run completely standalone.
Learn more here.