[aur-general] package version with hyphen

Ronald van Haren pressh at gmail.com
Mon Mar 29 11:58:04 CEST 2010


2010/3/29 Hervé Cauwelier <herve at oursours.net>:
> On 03/29/10 11:30, Ronald van Haren wrote:
>>
>> 2010/3/29 Hervé Cauwelier<herve at oursours.net>:
>>>
>>> The wiki doesn't give tips for cases like this. What would be your advice
>>> for not repeating myself?
>>>
>> just use pkgver=1.0beta, you can just type the currect version in the
>> source url yourself I suppose.
>>
>> Ronald
>
> That would repeat the version in the download URL and when "cd" to the
> source directory, which is worse.
>
> I prefer having configuration at the top of the PKGBUILD to ease
> maintenance.
>
> --
> Hervé Cauwelier
>
>

in that case you define _pkgver or something and use it there, though
I'm not a big fan of custom variables.

Ronald


More information about the aur-general mailing list