[Slackbuilds-users] What if we `source`d the version number
Eugen Wissner
belka at caraus.de
Tue Jan 4 21:40:33 UTC 2022
Yeah, would be nice. Slackware’s Slackbuilds try to determine the
version automatically based on the tarball in the directory, which
doesn't always work if I have multiple tarballs in the directory. And
the SBo SlackBuilds have the same information in two places; don't
repeat yourself.
On Wed, Jan 05, 2022 at 10:10:03AM +1300, Klaatu wrote:
> Why do we define the VERSION for a package in two separate files?
>
> What if we replaced this line in foo.SlackBuild:
> VERSION={VERSION:-0.0.1}
>
> with this instead:
> . ./$PRGNAM.info
>
> The VERSION variable would get imported from a consolidated location (the
> .info file).
>
> 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.
>
> Thoughts?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list