<div dir="ltr"><div>Thanks, Jeremy.  I noticed that in picard-plugins you named the variable COMMIT.  I think I'll follow your lead and call it by that name.</div><div><br></div><div>-Erik<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 8, 2024 at 4:54 PM Jeremy Hansen <<a href="mailto:jebrhansen%2BSBo@gmail.com">jebrhansen+SBo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 8, 2024, 6:44 PM Erik Falor <<a href="mailto:ewfalor@gmail.com" target="_blank">ewfalor@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><br>LuaJIT uses rolling releases. There are no release tarballs available for<br>download.  Instead of manual increments for each release, the build process<br>uses the POSIX time stamp of the latest commit as the release number of the<br>semantic version.<br><br>The full version number is in the format `$major.$minor.$timestamp`.  For<br>instance, the latest SlackBuild I'm preparing has this version number:<br>2.1.1703358377.<br><br>One can download a tarball of a specific commit from their GitHub mirror[1].<br>Because they aren't given tags with the version number, you have to refer to<br>them by the commit ID:<br><br><a href="https://github.com/LuaJIT/LuaJIT/archive/c525bcb9024510cad9e170e12b6209aedb330f83/LuaJIT-c525bcb9024510cad9e170e12b6209aedb330f83.tar.gz" rel="noreferrer" target="_blank">https://github.com/LuaJIT/LuaJIT/archive/c525bcb9024510cad9e170e12b6209aedb330f83/LuaJIT-c525bcb9024510cad9e170e12b6209aedb330f83.tar.gz</a><br><br>Of course, this means that the tarball expands to a subdirectory that contains<br>the commit ID instead of a version number in its name.<br><br>I can reconcile this by adding the $REVISION variable to the SlackBuild:<br><br>PRGNAM=luajit<br>REVISION=${REVISION:-c525bcb9024510cad9e170e12b6209aedb330f83}<br>VERSION=${VERSION:-2.1.1703358377}<br><br>Is this a satisfactory solution, or has this problem been solved in a better way<br>by another maintainer?<br><div><br></div><div><br></div><div>[1] <a href="https://github.com/LuaJIT/LuaJIT" rel="noreferrer" target="_blank">https://github.com/LuaJIT/LuaJIT</a></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Erik Falor<br></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I do something similar with picard-plugins [1]. They don't do formal releases, just I just grab the commit that was current at the time of the version of picard I'm packaging when it was released.</div><div dir="auto"><br></div><div dir="auto">I don't think there is a formalized process to handle different versions within the source name and folder structure. I like using SRCNAM, but REVISION works well in your case as well.</div><div dir="auto"><br></div><div dir="auto">[1] <a href="https://slackbuilds.org/repository/15.0/multimedia/picard-plugins/" target="_blank">https://slackbuilds.org/repository/15.0/multimedia/picard-plugins/</a></div><div dir="auto"><br></div><div dir="auto">Jeremy</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr" class="gmail_signature"></div></div>
</blockquote></div></div></div>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Erik Falor<br>Registered Linux User #445632 <a href="http://counter.li.org" target="_blank">http://counter.li.org</a></div>