Extract the master.tar.gz file to "Karabiner-master" and delete the tar.gz file
tar -xvzf master.tar.gz && rm master.tar.gz
Step 2: Building a package
The makescript will create a redistributable Karabiner-VERSION.dmgin the current directory.
Note:The build may fail if you have changed any environment variables or if you have modified scripts in the /usr/binlocations. Use a clean environment (new account) if this is the case.