You are not logged in.
I uploaded a x86_64 architecture package to AUR earlier and I've been trying to upload the equivalent i686 package but since they have the same name it just overwrites the x86_64 one. The PKGBUILD is exactly the same for both but there is a different source file (and corresponding MD5SUM) so I would like to upload both of them (like there is for binaries in the official package repos). Is there a convention for cases like this in the AUR? I couldn't find anything about it in the Wiki.
Last edited by alexdw (2013-06-23 16:32:46)
Offline
I use:
if [[ "$CARCH" == "i686" ]]; then
source=()
sha256sums=()
else
source=()
sha256sums=()
fi
Offline
You only need one PKGBUILD for both. I think you need to read up a little more on creating PKGBUILDS
Offline
I don't know what is the Right Way, but maybe you can just add something like '64bit' and '32bit' to the package name?
Please disregard ;P
Last edited by karol (2013-06-23 16:11:49)
Offline
I use:
if [[ "$CARCH" == "i686" ]]; then source=() sha256sums=() else source=() sha256sums=() fi
Thank you, I'll try that - it looks like it should work.
You only need one PKGBUILD for both. I think you need to read up a little more on creating PKGBUILDS
I think you're right - I didn't know you could use logic like the above in PKGBUILDs.
Offline