[aur-general] Packages with pkgver hackery
I just now saw two packages in the recent updates box on the AUR front page with screwed up version numbers: http://aur.archlinux.org/packages.php?ID=16828 http://aur.archlinux.org/packages.php?ID=16829 I don't really know if this causes any issues other than making the pages look weird, but I think perhaps a TU should look into it. Anders
He wants to make use of existing variables to do the trick. IMHO it's much simpler, easier, and less energy-consuming to type the version out - it can't be any longer than this: $echo ${_realver} | sed s|-|_|g-
On Tue 2008-05-06 14:54 , Anders Bergh wrote:
I just now saw two packages in the recent updates box on the AUR front page with screwed up version numbers:
http://aur.archlinux.org/packages.php?ID=16828 http://aur.archlinux.org/packages.php?ID=16829
I don't really know if this causes any issues other than making the pages look weird, but I think perhaps a TU should look into it.
Hey, blame Thomas http://dev.archlinux.org/~thomas/compat-wireless/ :) Protip: pkgver=${_realver//-/_} (It still breaks AUR, but at least is more elegant) -- Alessio (molok) Bolognino Please send personal email to themolok@gmail.com Public Key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFE0270FB GPG Key ID = 1024D / FE0270FB 2007-04-11 Key Fingerprint = 9AF8 9011 F271 450D 59CF 2D7D 96C9 8F2A FE02 70FB
participants (3)
-
Alessio Bolognino
-
Anders Bergh
-
Ray Rashif