Build a package from with git-buildpackage

You need to install git-buildpackage.

$ sudo aptitude install git-buildpackage

In this example the /tmp folder is used to build the package, but you can also use /usr/src/ for example.

$ cd /tmp
$ git clone git://
$ cd xserver-xorg-video-openchrome/
$ git-buildpackage --git-debian-branch=debian-unstable --git-upstream-branch=origin/upstream-unstable -us -uc # -us -uc are the options passed to debuild to not sign the package.

The last step might complain about missing dependencies. Just copy the list of dependencies and remove the version numbers. And do the last step again.

$ sudo aptitude install *add the list here*

There should be a *.deb package in the upper folder which you can install with the following command.

$ cd ../
$ sudo dpkg -i xserver-xorg-video-openchrome*.deb