Refactor pkg build process to not rely on couchdb-ci (#39)