[Slackbuilds-users] What is the best way to add a tag to the version of a program?
Fellype do Nascimento
fellype at gmail.com
Wed Jan 10 18:12:44 UTC 2018
On 01/10/2018 03:56 PM, Andrzej Telszewski wrote:
> I think your reasoning is not exactly correct, but the outcome result
> is good ;-)
> What I mean is that BUILD should not mimic in any way the upstream
> versioning schema.
> The only thing you have to change is that you cannot use "-" in
> version string.
> Common practice here is to replace it with "_" (underscore).
> Then your SlackBuild should somehow deal with "_" is VERSION but with
> "-" in source tarball name.
> Something like:
> SRCVER=$(echo $VERSION | tr _ -)
Thank you for your tip. I got it.
More information about the SlackBuilds-users