[pacman-dev] [PATCH] makepkg: add option holdver (like --holdver arg)
Allan McRae
allan at archlinux.org
Wed Jan 20 05:55:05 EST 2010
Vesa Kaihlavirta wrote:
>> Why is this useful? I see that you can either you use the --holdver flag
>> or you check out a specific revision in the PKGBUILD.
>
> For software that make their release versions only in svc. E.g. my go
> package in community. I want to have holdver every time I build this
> package, and it's much more convenient if it's defined in the
> PKGBUILD.
Shouldn't you just move _hgroot and _hgrepo inside the package()
function? If you have to use --holdver everytime you build a package,
then that package is not really a VCS style package and should not be
treated like one.
As an aside, looking at holdver makes me realize just how stupid it is.
It does not hold the checkout at the version specified, which I bet
most people thinks it will. It just stop the pkgver being updated. e.g.
I just build makepkg-git-19790101-1...
Allan
More information about the pacman-dev
mailing list