[aur-general] Package from official repos build from git, instead of official upstream release - Was: TU Application - Dustin Falgout
Eli Schwartz
eschwartz93 at gmail.com
Wed Mar 2 17:22:09 UTC 2016
On 03/02/2016 11:42 AM, Ralf Mardorf wrote:
> PS:
>
> I've got a question regarding the jack2-git package from AUR.
>
> The maintainer does use
>
> $ git rev-list --count master
> 3425
>
> [1], but IMO pkgver should be
>
> $ git describe|sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
> 1.9.10.r177.g7bdad49
>
> since this is the correct version number, as used by
> https://www.archlinux.org/packages/community/x86_64/jack2/ .
>
> Is there no recommendation what to use for AUR PKGBUILD pkgver?
>
> Regards,
> Ralf
>
> [1]
> "pkgver() {
> cd jack2
> # get a plain number
> echo $(git rev-list --count master)
> }" - https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=jack2-git
>
That is a super-ugly pkgver which is only supposed to be used as a
method of last resort for packages that have *no* normal pkgver.
You should suggest that the AUR maintainer fix the pkgver (and add an
epoch).
--
Eli Schwartz
More information about the aur-general
mailing list