29 Mar
2010
29 Mar
'10
5:58 a.m.
2010/3/29 Hervé Cauwelier <herve@oursours.net>:
On 03/29/10 11:30, Ronald van Haren wrote:
2010/3/29 Hervé Cauwelier<herve@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