[arch-general] Multi architecture binary pkgs

C Anthony Risinger anthony at extof.me
Mon Dec 6 10:17:14 EST 2010


On Mon, Dec 6, 2010 at 8:48 AM, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> On 2010/12/6 Rémy Oudompheng <remyoudompheng at gmail.com> wrote:
>> This seems to assume that pacman and makepkg run on systems that are
>> either 32-bit or 64-bit. IMO, your proposal looks very "ad hoc", and
>> would add unnecessary complications to makepkg, with no benefit when
>> dealing with PowerPC, ARM, and other architectures.
>
> However, maybe a sensible way to do that would be to allow build()
> function to be replaced by "build_$arch" functions in the same fashion
> as with split packages.

i like that idea, though i wonder if that would also entail allowing
for all split functions (possibly) needing an $arch.

perhaps `_$arch` could be appended to ANY function in PKGBUILD, and
makepkg would use where appropriate; perhaps even build them all using
chroots/etc.

C Anthony


More information about the arch-general mailing list