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

Loui Chang louipc.ist at gmail.com
Mon Aug 2 08:49:11 EDT 2010

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.
You should submit it to the pacman-dev list and/or the pacman bug

More information about the arch-general mailing list