On 10/26/07, Scott Horowitz <stonecrest@gmail.com> wrote:
I personally found it silly to have separate scripts for makepkg and versionpkg. I've seen countless messages on AUR where people ask for -svn PKGBUILDS to be updated because their pkgver is out of date, etc. Many people don't know about versionpkg and, even if you do, it makes sense to have a single script that handles both.
Please look at the patch carefully because I am by no means a shell scripting expert. I tested it with mpd-svn and mpd PKGBUILDS; both worked fine but that hardly means everything is perfect.
Also, this removes the --check-only and --modify-only arguments that the standalone versionpkg script accepted. I guess there's no reason these can't be added back in, but they seem a little useless to me (and their short arguments, -c and -m, are already used by makepkg for other purposes).
Scott
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. If you need any help with git, try to catch me on IRC or send me a private email. One thought- usage instructions would be nice to be in the patch too (the stuff from makepkg --help). -Dan