29 Mar
2010
29 Mar
'10
5:29 a.m.
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