2007/9/23, Jason Chu <[EMAIL PROTECTED]>:
> I'd be surprised if you could write a simple PKGBUILD to bash translator.
> Parsing "almost bash", understanding the syntax, and then converting it
> would be pretty complicated.
Perhaps a few seds would suffice. For example something like
build(libs) could be easily converted with this:
sed -r
's/^[[:space:]]*build\(([a-z0-9+-]+)\)([[:space:]]*\{[[:space:]]*){0,1}$/build_\1
\2/'
I don't see any need to extend the current PKGBUILD syntax but things
like build(libs) or depends(libs)= could be IMHO acceptable.
--
Jaroslaw Swierczynski <[EMAIL PROTECTED]>
www.archlinux.org | www.juvepoland.com
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch