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

Rashif Ray Rahman schiv at archlinux.org
Fri Nov 1 07:21:00 EDT 2013


On 1 November 2013 18:58,  <alexander.r at gmx.com> wrote:
> Are you trying tio re-implement Metalinks? They have become standartized way to do what you want ages
> ago. They are even supported by curl! Add metalink file to package (or reference one from upstream),
> redefine DLAGENTS to something like 'metalink::/usr/bin/curl --metalink %u' and, if possible, convince
> makepkg developers to add that DLAGENT to default makepkg.conf. Voilà, no one's KISS principles
> violated.

IMHO, this sounds better than a buildscript full of hyperlinks.
Alternative mirrors should be an optional feature. I'd even go as far
as to suggest just having a .mirrors file (lowercase to differentiate
it from pacman files) with a list of optional locations for each
source, while adding a bit of code to makepkg to go through the list
if the primary source locations fail for whatever reason. But that's
my uninformed opinion.


--
GPG/PGP ID: C0711BF1


More information about the aur-general mailing list