23 Jun
2009
23 Jun
'09
7:03 a.m.
On 23/06/2009, Jordi Cerdan <jcerdan@tecob.com> wrote:
Until now there was only one package for i686, and there was no package for x86_64 arch. But now, there will be a package for this arch too. The problem is that there are 2 different links, one for each arch and I don't know if it's possible in the same PKGBUILD to detect the arch and to download the package needed.
I know it would be easier to build 2 packages, but I would want to know if it's possible somehow to build one package for both architectures.
sure, take a look to panda3d PKGBUILD[1] - [1] http://repos.archlinux.org/viewvc.cgi/community/lib/panda3d/PKGBUILD?view=markup&revision=1.16&root=community&pathrev=CURRENT -- Andrea `bash` Scarpino Arch Linux Developer