[aur-general] architecture independent packages
Firmicus at gmx.net
Wed Mar 19 03:01:23 EDT 2008
Roman Kyrylych a écrit :
> 2008/3/18, Roman Kyrylych <roman.kyrylych at gmail.com>:
>> 2008/3/16, Roman Kyrylych <roman.kyrylych at gmail.com>:
>> > For example, you have i686 system:
>> > i686: makepkg (but do not use -c option)
>> > x86_64: CARCH=x86_64 makepkg -R
>> > ;-)
>> Oops, that doesn't work.
>> You'll have to edit .PKGINFO by hand and then repackage with -Rf and
>> rename the file to have x86_64 suffix (not needed for community
>> though, because AUR backend still doesn't support them).
> makepkg still places system's CARCH in new .PKGINFO.
> I've managed to get it correctly only by changing CARCH in makepkg.conf
> Anyway that's a hack and I posted this followup just to correct my
> previous wrong suggestion.
A much easier solution is to use these scripts
They are also a hack of course, pending implementation of the "arch=any"
More information about the aur-general