Copy the build-package.sh from Atom/CI, and hack it.