[aur-general] package version with hyphen
Hervé Cauwelier
herve at oursours.net
Mon Mar 29 11:29:17 CEST 2010
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
More information about the aur-general
mailing list