[aur-general] Support for source mirror lists in PKGBUILD

Florian Pritz bluewind at xinu.at
Thu Oct 31 18:18:54 EDT 2013


On 31.10.2013 22:12, Ido Rosen wrote:
> Okay, that leaves either Jerome's suggestion (if duplicate filenames are
> detected, treat them as mirrors and don't fail/abort as long as one of them
> works);

I'd go with that. Doesn't add any new syntax and can be created easily
enough like this:

source=("$pkgname-$pkgver.tar.gz"::{"http://foo.com/blub/","http://somewhere.com/"}"$pkgname-$pkgver.tar.gz")

Should be as simple as looping of the sources array after a fail and
checking if there is another matching "filename::" element.

Care to submit a patch to pacman-dev?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20131031/673e5430/attachment.asc>


More information about the aur-general mailing list