build package in /tmp directory