[pacman-dev] [PATCH 03/11] makepkg: add function to return download protocol
thomas at archlinux.org
Thu Jul 12 11:01:24 EDT 2012
Am 27.06.2012 04:18, schrieb Allan McRae:
> Hmm.... this could be interesting...
> local assumes that the file is in $startdir. I guess file:// could be
> used to specify files anywhere on your system, but that really does not
> make a portable PKGBUILD.
> I'm tempted to say all local files must be in $startdir and so no
> support of file:// is needed.
Imagine you have a bunch of PKGBUILDs with mirror=... in them and use
$mirror a lot in source=(). Then you get a local mirror and mass-replace
mirror= with a file:// URL in all of them.
I say this is useful.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the pacman-dev