Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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           
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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