[pacman-dev] [PATCH] Added mirror support to makepkg's source array.

Sam Stuewe halosghost at archlinux.info
Mon Nov 25 02:15:11 EST 2013


On 2013-11-24 23:46, Allan McRae wrote:
> One question needs answered first.  Should there be able to be two
> different mirror arrays.   I.e. If a PKGBUILD has multiple source files
> available across mirrors, will those be the same mirrors?
Though I think the flexibility of having an option for multiple source 
files to have mirrored sources, I agree that the number of use cases is 
probably very small.
> If the answer is no, we can simplify this some more to:
> 
> source=('mirror://foo/foo.tar.xz')
> mirror=('http://bar.com/download' 'http://baz.com/mirror/download')
I do love how simple that would be. If the end result of this proposal 
is this simple solution, or one slightly more complex one that supports 
multiple sources with mirrors, I will be satisfied either way. The only 
extra argument I would make in favor of supporting multiple mirrored 
sources is that it seems odd to allow a special case only for one source 
file. Wouldn't it be more less hacky and more standardized if PKGBUILDs 
treated source files as equal?

All the best,

---
Sam Stuewe (a.k.a. HalosGhost)


More information about the pacman-dev mailing list