You are not logged in.
Hi everybody,
I like to package two binaries, one for 64 and one for 32 bit.
How should I handle this?
Initially I though about creating two seperate packages, but since the AUR doesn't allow two packages with the same name and just different architectures this doesn't work.
Should I include both binaries in the sources and just install the one which is needed?
Cheers,
Faerbit
Last edited by Faerbit (2014-02-03 13:54:50)
Offline
If I understand you correctly, you want a PKGBUILD that supplies both i686 and x86_64 bins that are precompiled? See the mprime-bin PKGBUILD in the AUR for an example.
Offline
Thanks, that was really helpful.
I must say though the tools are not very helpful for this. Quite a few things I have to do manually.
Offline
What tools? PKGBUILDs should be written by hand.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Tools like updpkgsums or makepkg. Also I was unable to fake my architecture, and had to install arch32-light, but this could also be my stupidity.
Offline
Use clean-chroot-manager in the AUR... exactly why I wrote it.
Offline
Well after a bit of wrestling with my nobody user (I messed with him before on a unrelated notice) I got it working. You are once again very helpful. Thank you graysky.
Offline