[arch-general] PKGBUILD parser

Andre "Osku" Schmidt andre.osku.schmidt at googlemail.com
Sun May 9 05:53:54 EDT 2010


my second rewrite seems also come to a dead-end, and before i rewrite
this again, i was hoping someone here could give me tips on what would
be the best method to parse a PKGBUILD file ?

you can play with my latest fail here:

@todo parseBuild() fails if you have } in body
@todo some array content in PKGBUILD mix ' and ", so this fails ATM...
(and the test-pkgbuild.html somehow doesn't parse build() on every
second run...)


More information about the arch-general mailing list