On Tue, 2010-08-10 at 16:47 -0600, Gary Wright wrote:
In short, makepkg and pacman -U (which is basically what yaourt does) don't care what it says in the replaces=() array. Best advice would be to add masqmail (the old pkgname) into the conflicts() array of the masqmail-0.2 PKGBUILD, and put a message up in the comments for masqmail-0.2 advising users to remove the original masqmail package before upgrading.
If you add 'conflicts', you won't have to advise users to remove the original package. Why not just update the masqmail package to the latest 0.2 version (or just a pkgrel bump) and add a post-update/install message saying "this package will no longer be maintained, please choose between masqmail-0.2 and masqmail-0.3 to receive further updates.