[aur-general] About PKGBUILD of the automatic nightly builds

郑文辉(Techlive Zheng) techlivezheng at gmail.com
Mon Dec 19 12:02:00 EST 2011


2011/12/20 Dave Reisner <d at falconindy.com>:
> 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
I under stand what you saying,I found these orphaned PKGBIULDs in AUR
with what your said magical garbage and made the AUR looks aweful.So I
adopted them and trying to correct that,but I didn't know what exaclty
should be done to these nightly build kind of PKGBUILD whith automatic
detecting pkgver tricks,that why this mail came to the list?

I will update them with the removing of all that tricks.


More information about the aur-general mailing list