[aur-general] PKGBUILD with depending _pkgver

Martti Kühne mysatyre at gmail.com
Tue Mar 20 17:52:10 EDT 2012


On Tue, Mar 20, 2012 at 06:44:43PM +0100, Maximilian Bräutigam wrote:
> Is there a way to avoid both the redundancy and the wrong
> interpretation at aur.archlinux.org?
> 
> This is the package we are talking about:
> https://aur.archlinux.org/packages.php?ID=34230

suggestion: use the parameter expansion in the source url only?

source=("http://my.domain.org/my/package-${pkgver//\./}.tar.gz")
...or would this be too obvious?
saves you ... a line of code. :)

cheers!
mar77i


More information about the aur-general mailing list