[aur-general] Package with arch-depending source

Maxime Gauduin alucryd at gmail.com
Mon Feb 24 04:46:48 EST 2014


On Mon, Feb 24, 2014 at 10:42 AM, Ismael Bouya
<ismael.bouya at normalesup.org>wrote:

> Hi,
>
> I'm maintaining a package in the AUR whose source is "arch-depending"
> (anaconda)
>
> For the moment I deal with that by putting the x86_64 version in the
> source/md5 array and adding a
> if [ "$CARCH" == "i686" ] (...)
> just after to modify it.
>
> Is that the usual way to do that? Or how should it be done? I see no
> information about that in the AUR guidelines.
> --
> Ismael
>

Yes it is, see the nvidia package for instance:
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/nvidia

Cheers,
-- 
Maxime


More information about the aur-general mailing list