29 Mar
2010
29 Mar
'10
9:30 a.m.
2010/3/29 Hervé Cauwelier <herve@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