Hate to stomp on good ideas, but can you port this patch to the current GIT version of makepkg? I really like it because it doesn't seem to do too much, but makepkg has changed a lot since pacman 3.0.0.
Ok, attached is a patch against makepkg in git. It uses Aaron's sed line and is simplified a bit from my previous patch.
One thought- usage instructions would be nice to be in the patch too (the stuff from makepkg --help).
I'm not sure what you mean? There aren't any usage instructions, it doesn't add any public arguments. If it finds the correct svn/etc variables in the PKGBUILD, it'll update to the latest revision. (Behind the scenes, I do use a -z argument to prevent the revision number from being searched for twice due to fakeroot's makepkg call...) It also fixes a small typo ;-) And finally, makepkg -p seems to be documented, but the argument doesn't appear to be valid anymore (it's not parsed). I'm not sure if your intention was to remove that option or it's simply an oversight... Scott