[arch-general] makepkg patch - generate .SRCINFO file when running "--source"

vlad vla at uni-bonn.de
Mon Aug 2 11:03:58 EDT 2010


On Mon, Aug 02, 2010 at 08:49:11AM -0400, Loui Chang wrote:
> On Tue 27 Jul 2010 15:25 +0200, vlad wrote:
> > Here is a patch against makepkg from git which introduces a new function
> > "write_srcinfo()". This generates a file .SRCINFO - like the .PKGINFO
> > one - when "makepkg --source" is run and then it is added to the src.tar.gz
> > archive. 
> > I think having such a file is an important step for getting split
> > packages to the AUR. It is also useful for third party applications.
> > Since this file is generated during making the source archive, there
> > is no need for parsing/sourcing the PKGBUILD everytime meta infos are
> > needed afterwards.
> > This is also a way of standardizing the source archive.
> > 
> > .SRCINFO looks like (generated for gcc from core):
> 
> Nice. :D This is something that I had been brainstorming too.
Hehe, that's why I did it. I wanted to give this a push.
> You should submit it to the pacman-dev list and/or the pacman bug
> tracker.
Is pacman-dev public or open for non-devs?

-- 


More information about the arch-general mailing list