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

Jakob Gruber jakob.gruber at kabelnet.at
Tue Jul 27 09:38:10 EDT 2010


On Tuesday 27 July 2010 15:25:56 vlad wrote:
> Hello list,
> 
> 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.

snip

> global makedepends = binutils>=2.20.1
> global makedepends
= libmpc>=0.8.2-2
> global makedepends = cloog-ppl>=0.15.8

What about
packages that define source / depends / ... depending on the used arch ? For
example:

-------------

if [ $CARCH == 'x86_64' ];
then
	_pkgarch=...
	md5sums=...
	depends=...
else
	...
fi

source=("...${_pk
garch}.tar.gz")

-------------

jakob


More information about the arch-general mailing list