[arch-multilib] common variables in PKGBUILD

Heiko Baums lists at baums-on-web.de
Wed Sep 15 09:51:43 EDT 2010

Am Wed, 15 Sep 2010 11:15:33 +0200
schrieb Harvey <harv at gmx.de>:

> 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]*+'`)

> But how should someone uploading to AUR handle this?

Just don't use such complex variables and change $_majorver manually if
this variable is really necessary and the major version has changed
like you already need to do it with $pkgver.


More information about the arch-multilib mailing list