[aur-general] [AUR4] Single binary package for different architectures
Frederik “Freso” S. Olesen
freso.dk at gmail.com
Tue Jul 7 21:20:46 UTC 2015
Den 26-06-2015 kl. 02:21 skrev Hugo Osvaldo Barrera:
> On Thu, Jun 25, 2015, at 12:50, Maxime Gauduin wrote:
>> On Thu, Jun 25, 2015 at 5:27 PM, Doug Newgard <scimmia at archlinux.info>
>>> On Thu, 25 Jun 2015 12:15:01 -0300
>>> Hugo Osvaldo Barrera <hugo at barrera.io> wrote:
>>>> Why not just name them the same locally?
>>> That creates problems verifying the checksums.
> What problems exactly?
If you build both versions (which is the default for `makepkg` IIRC),
you will need to delete the downloaded source midway through or makepkg
will complain that "$pkgname-$pkgver" (x86_64) doesn't match its
checksum (if it downloaded i686 first).
Some people also utilise the $SRCDEST setting in makepkg.conf to avoid
having to download source files over and over, which is useful if you
need to build the same package for several machines. If you happen to
have machines of multiple architectures, you will also have to keep
deleting the source file to allow makepkg to fetch the architecture one
for the machine you're currently building on/for.
There are probably more cases where this would clock in. The summary is
what Doug originally wrote though. Just Don't Do It™.
Frederik “Freso” S. Olesen <http://freso.dk/>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the aur-general