[arch-general] Makepkg's versioning for git packages
arielp
ariel at drakkn.net
Fri Aug 3 11:37:01 EDT 2012
On 8/3/2012 6:56 AM, Menachem Moystoviz wrote:
> I am a bit confused regarding makepkg's versioning of packages.
> From what Allan said on this mailing list a couple of days ago, custom
> support is being added to makepkg.
> In addition, from what I can see on the wiki and manpages, the only
> variable influencing the versioning is pkgver.
> However, from what I've heard, when running makepkg with _gitroot and
> _gitname set, makepkg will automatically
> set pkgver to the date of the last commit.
>
> Could someone clarify this? Also, the wiki pages regarding makepkg
> should mention this.
> Thanks,
>
> M
It uses the revision number from the repo. There is (used to be?) a wiki
page that detailed how to use the VCS variables. This is the closest I
could find:
https://wiki.archlinux.org/index.php/Arch_CVS_%26_SVN_PKGBUILD_guidelines
-A
More information about the arch-general
mailing list