Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#2286 - Variables in PKGBUILD sources line are not eval'd
Attached to Project:
AUR web interface
Opened by Vesa Kaihlavirta (vegai) - Friday, 25 February 2005, 16:26 GMT
Opened by Vesa Kaihlavirta (vegai) - Friday, 25 February 2005, 16:26 GMT
|
DetailsMy PKGBUILD for gambit used to contain a variable inside the sources line, and AUR failed to expand that variable:
... prefix=gambc ... sources=(http://foo.bar/$prefix$version.tar.gz...) When I uploaded this to AUR, it showed the sources-line with $prefix not expanded. Not a huge inconvenience, though, but still. The old version of the PKGBUILD is here: http://iki.fi/vegai/tmp/gambit-broken.PKGBUILD ...and the new version is in AUR. |
This task depends upon
You should not introduce any new variables in your PKGBUILD. The only variables that will get eval'd are pkgrel, pkgver, and pkgname.