Create Deb from Dvcs-Source

Create Deb from Dvcs-Source

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.

1 Answer

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

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.