Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#2649 - Improvements to the PKGBUILD parser/variable substitution
Attached to Project:
AUR web interface
Opened by Sergio Jovani Guzman (moret) - Sunday, 24 April 2005, 11:23 GMT
Last edited by Loui Chang (louipc) - Monday, 02 February 2009, 01:15 GMT
Opened by Sergio Jovani Guzman (moret) - Sunday, 24 April 2005, 11:23 GMT
Last edited by Loui Chang (louipc) - Monday, 02 February 2009, 01:15 GMT
|
DetailsI did the Pingus game PKGBUILD and in the source field I wrote source=($url/files/$pkgname-$pkgver-binary-linux-i386.tar.bz2) but in detail pkg info appears:
Sources $url/files/pingus-0.6.0-binary-linux-i386.tar.bz2 I think this implementation is needed. Bye. |
This task depends upon
The biggest hurdle here is that we don't want to acutally use bash to evaluate the pkgbuilds, because it just becomes too much of a security hazard, so all the evaluation is taking place in php.
Off the top of my head I think there might be an easy way to fix this, but I'm not all too fond of it. Basically I'm thinking parse through the sources array replacing anything that matches $[key] from earlier with it's value. hmm....
The package I'm talking about is eclipse-pydev