[arch-projects] AUR 1.4.0

Joerie de Gram j.de.gram at gmail.com
Wed Oct 3 11:57:21 EDT 2007


On 10/3/07, Roman Kyrylych <roman.kyrylych at gmail.com> wrote:
> Found a bug in parser.
> See http://aur.archlinux.org/packages/cheese/cheese/PKGBUILD
> and how depends are parsed on
> http://aur.archlinux.org/packages.php?do_Details=1&ID=11879

Partial patch in my git repo [1]
I've rewritten the code which concats PKGBUILD variables spanning
multiple lines to one line.
However, it'll need some fine tuning - it currently counts opening and
closing braces in order to determine which parts of the PKGBUILD
resemble arrays.
Any braces used in, e.g. the description might break it, so it'll need
to be modified to ignore braces enclosed within single or double
quotes.

Joerie

[1]: http://tinyurl.com/3yjjda




More information about the arch-projects mailing list