[arch-multilib] common variables in PKGBUILD

Thomas Bächler thomas at archlinux.org
Wed Sep 15 04:03:46 EDT 2010


Am 15.09.2010 09:54, schrieb Harvey:
> Sadly not even the AUR webinterface pays attention to variables right
> now. By using a source like
> 
> _majorver=(`echo $pkgver | egrep -o '[0-9]+\.[0-9]*+'`)
> 
> source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbasename/$_majorver/$_pkgbasename-$pkgver.tar.bz2)
> 
> 
> the source link on the AUR page of the Pakage breaks...

The AUR was never able to handle more complex PKGBUILDs, everything it
parses (pkgname, pkgver, pkgrel, source, and so on) must be a string
with no variable substitutions in it.

The PKGBUILDs we use for binary packages are very often not AUR-compatible.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-multilib/attachments/20100915/acfd4ea0/attachment.bin>


More information about the arch-multilib mailing list