[pacman-dev] [PATCH] Integrate versionpkg into makepkg

Scott Horowitz stonecrest at gmail.com
Fri Oct 26 18:13:50 EDT 2007

> 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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: makepkg_versionpkg.patch
Type: text/x-diff
Size: 4080 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20071026/0e106c1a/attachment.bin>

More information about the pacman-dev mailing list