On Tue, Dec 20, 2011 at 12:40:57AM +0800, 郑文辉(Techlive Zheng) wrote: > Recently,I was attracted by the songbird and nightingage media player > based on Mozilla Tech.And I noticed these to nightly build PKGBUILD in > AUR whose pkgver is part of a shell command string,and I want to do > something to make that pkgver recognised by the AUR interface. > > Anyone who can tell me how to write a automatic nightly build > PKGBUILD?Or,is there any standard on nightly build PKGBUILD? > > Thanks! > > bin32-songbird-nightly:https://aur.archlinux.org/packages.php?ID=44366 > songbird-nightly-bin:https://aur.archlinux.org/packages.php?ID=32932
Short answer: Please don't do this sort of magical garbage. As an AUR helper author, I send apples full of razor blades to people who do this. Long answer: If you insist, you can probably fool the AUR with a redefinition, in the same way that split packages are done, e.g. pkgver=2011.12.19 : && pkgver=$(<<<cat sed statement) The first definition of the pkgver will still be the one that remains as the AUR's recognized version, though. dave
