AUR web interface

Tasklist

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
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

My 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

Closed by  Eric Johnson (eric)
Saturday, 05 March 2005, 02:15 GMT
Reason for closing:  Not a bug
Comment by Eric Johnson (eric) - Saturday, 05 March 2005, 01:37 GMT
Please read the packaging guidelines, (http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html#build)

You should not introduce any new variables in your PKGBUILD. The only variables that will get eval'd are pkgrel, pkgver, and pkgname.

Loading...