3

Is there a system in Ubuntu which simplify the process of getting the sources from git, compile and package it into a deb?

I'm looking for something similar to the PKGBUILD in ArchLinux which can be configured with any kind of vcs repo as source and then packaged as that distributions package format.

4

You might want to have a look at git-buildpackage.

There are similar tools, one for each VCS:

$ aptitude search buildpackage
p   arch-buildpackage            - tools for maintaining Debian packages using arch              
v   bzr-buildpackage             -                                                               
p   cvs-buildpackage             - A set of Debian package scripts for CVS source trees.         
p   darcs-buildpackage           - Suite to help with Debian packages in Darcs archives          
p   git-buildpackage             - Suite to help with Debian packages in Git repositories        
p   mercurial-buildpackage       - Suite to maintain Debian packages in Mercurial repository     
p   svn-buildpackage             - helper programs to maintain Debian packages with Subversion   
p   tla-buildpackage             - Suite to help with Debian packages in Arch archives           

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.