[aur-general] package version with hyphen

Ronald van Haren pressh at gmail.com
Mon Mar 29 11:30:39 CEST 2010


2010/3/29 Hervé Cauwelier <herve at oursours.net>:
> Hi,
>
> I've just noticed pkgver is not interpreted when uploading to AUR.
>
> I am packaging a program versionned "1.0-beta" and I learned hypens are
> forbidden in pkgver: http://wiki.archlinux.org/index.php/PKGBUILD
>
> I first tried this:
>
> _pkgver=1.0-beta
> pkgver=${pkgver/-/_}
>
> But it was displayed as something like "pkgver/-/_}".
>
> So I had to double the declaration:
>
> pkgver=1.0-beta
> pkgver=1.0_beta
>
> The wiki doesn't give tips for cases like this. What would be your advice
> for not repeating myself?
>
> Thanks,
>
> --
> Hervé Cauwelier
>
>

just use pkgver=1.0beta, you can just type the currect version in the
source url yourself I suppose.

Ronald


More information about the aur-general mailing list