[Slackbuilds-users] Testing a script with options with sboinstall

Andreas Guldstrand andreas.guldstrand at gmail.com
Sat Feb 10 23:02:10 UTC 2018


Hi, as the current maintainer of sbotools, I can tell you both how to
test, as well as what it looks for to know to ask:

How to test:
Make use of the local overrides option described in the sboconfig(1)
or sbotools.conf(5) man-pages, namely: create a sub-directory with
your slackbuild inside it (including .info, .SlackBuild, README and
slack-desc files), named the same as your slackbuild, for instance,
using mpv as an example:

base/mpv/
base/mpv/mpv.info
base/mpv/mpv.SlackBuild
base/mpv/README
base/mpv/slack-desc

Then point the local-overrides option to the base/ directory:
  # sboconfig -o /path/to/base

And then you should be able to sboinstall the slackbuild even before
it gets submitted to slackbuilds.org


How to make it ask the user to set options:
In the README make sure you have text of the form FOO=something
That's really all it looks for. A bunch of capital letters (or
numbers) followed by an equal sign and some text afterwards. No
whitespace.

Hope this helps / Andreas


More information about the SlackBuilds-users mailing list