[Slackbuilds-users] What if we `source`d the version number

Klaatu klaatu at mixedsignals.ml
Tue Jan 4 21:10:03 UTC 2022


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20220105/c47a8857/attachment.htm>


More information about the SlackBuilds-users mailing list