Added Ubuntu packaging using FPM-Cookery #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Generating Debian package is always a frustrating task, but thanks to the awesome https://github.com/bernd/fpm-cookery project, with very little modifications to your original project, I was able to add code to generate a debian package at the end of the process.
It requires ruby to be present on your machine (which is default on Ubuntu), and will need to install some additional ruby libraries.
All you have to do is type
make package
or justmake
and you will have a full functional package onpkg
folder.As you don't specify any version on the project I've assumed http://semver.org/ structure, and used an initial 0.1.0 version.
There are a lot of places where you can host a package (launchpad.net forces you to use horrendous default tools and bzr to generate packages, so it's out of question), but https://bintray.com/ can be pretty straightforward and easy to work (for instance big projects like homebrew uses their infra, and it's free for FOSS).