[aur-dev] [PATCH] pkgsubmit.php: Parse .SRCINFO metadata

Lukas Fleischer archlinux at cryptocrack.de
Tue Mar 5 07:41:44 EST 2013


On Tue, Mar 05, 2013 at 01:37:58PM +0100, Lukas Fleischer wrote:
> This allows for adding a metadata file called ".SRCINFO" to source
> tarballs to overwrite specific PKGBUILD fields. .SRCINFO files are
> parsed line by line. The syntax for each line is "key = value", where
> key is any of the following field names:
> 
> * pkgname
> * pkgver
> * pkgdesc
> * url
> * license
> * depend
> 
> Multiple "depend" lines can be specified to add multiple dependencies.
> 
> This format closely matches the .PKGINFO format that is used for binary
> packages in pacman/libalpm. It can be extended by field name prefixes or
> sections to support split packages later.
> 
> Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
> ---

Note that I failed to "--annotate" and add "[RFC]" to the subject line.
Comments and opinions welcome.

>  web/html/pkgsubmit.php | 38 ++++++++++++++++++++++++++++++++++----
>  1 file changed, 34 insertions(+), 4 deletions(-)
> 
> [...]


More information about the aur-dev mailing list