<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto"><div>I believe the suggestion was to make life easier for package maintainers, not builders. <br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 4, 2022 4:48 PM, Andrzej Telszewski <andrzej@telszewski.com> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"><br>
Jan 4, 2022 10:11:00 PM Klaatu <klaatu@mixedsignals.ml>:</p>
<p dir="ltr">> Why do we define the VERSION for a package in two separate files?<br>
>  <br>
> What if we replaced this line in foo.SlackBuild:<br>
> VERSION={VERSION:-0.0.1}<br>
>  <br>
> with this instead:<br>
> . ./$PRGNAM.info<br>
>  <br>
> The VERSION variable would get imported from a consolidated location (the .info file).<br>
>  <br>
> It seems to make more sense to me, and it makes trivial upgrades (the ones where I go in and just bump a version number to something I want to build) a one-file task.<br>
>  <br>
> Thoughts?</p>
<p dir="ltr">You can source .info before executing .SlackBuild to get the same effect. No changes needed. :-)</p>
<p dir="ltr">> _______________________________________________<br>
> SlackBuilds-users mailing list<br>
> SlackBuilds-users@slackbuilds.org<br>
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users<br>
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/<br>
> FAQ - https://slackbuilds.org/faq/</p>
<p dir="ltr">_______________________________________________<br>
SlackBuilds-users mailing list<br>
SlackBuilds-users@slackbuilds.org<br>
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users<br>
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/<br>
FAQ - https://slackbuilds.org/faq/</p>
</blockquote></div><br></div></div></div>