[pacman-dev] [PATCH] Add support for arch='all' to makepkg

Roman Kyrylych roman.kyrylych at gmail.com
Tue Oct 30 10:29:59 EDT 2007

2007/10/30, Roman Kyrylych <roman.kyrylych at gmail.com>:
> Hi!
> Today I have started adding support for noarch packages.
> This is the first step. The attached patch adds support for arch='all'
> to makepkg.
> It's very simple because it just sets CARCH to all and then everything
> else goes as usual.
> When we'll add support for subpackages - we'll have to make additional
> checks to be sure we can build -i686/-x86_64 package and -all package
> from one PKGBUILD.
> This depends on a way we implement subpackages and can be modified later.
> So far, pacman-git is able to install packages built with the modified makepkg,
> and shows "Architecture: all" on -Qi.
> I'll post patches for other scripts soon.
> How to test it:
> 1) get any font/cursor/etc PKGBUILD from AUR,
> 2) replace arch=('i686' 'x86_64') with arch='all'
> 3) use the patched makepkg to build the package
> 4) use pacman -U (git version, 3.0.x fails) to install the package
> 5) do pacman -Qi

OK, here is a patch for gensync and updatesync.
repo-add and repo-remove don't need any modifications.

Roman Kyrylych (Роман Кирилич)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-support-for-arch-all-to-gensync-and-updatesync.patch
Type: text/x-patch
Size: 1373 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20071030/0a5b3887/attachment.bin>

More information about the pacman-dev mailing list