From 4352c3a67b5fbcfe38d9c5d67b849e8f8917cfd1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 23 Jun 2023 01:45:45 -0400 Subject: sbolint: tweak docs. --- sbolint | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) (limited to 'sbolint') diff --git a/sbolint b/sbolint index c10bbf1..1c40432 100755 --- a/sbolint +++ b/sbolint @@ -218,21 +218,6 @@ The script must install the slack-desc in I<$PKG/install>. =item - -If there is a doinst.sh script, the SlackBuild must install it to I<$PKG/install>. - -=item - - -If there is a doinst.sh script, and it uses the config() function, the function must -be defined before it's used. Also, config files passed to config() must end with -a B<.new> suffix. - -=item - - -If there is a doinst.sh script, and it calls B, the existence -of the cache must be checked before this command is run. - -=item - - Template boilerplate comments should be removed, e.g. I<"REMOVE THIS ENTIRE BLOCK OF TEXT"> or I<"Automatically determine the architecture we're building on">. @@ -265,6 +250,12 @@ comments, and correct spacing/indentation. =item - +The short description in the first line of the slack-desc must not be +literally "short description of app" (copied from the template and not +edited). + +=item - + .info file must exist, have mode 0644, and match the SBo template. =item - @@ -277,6 +268,29 @@ must begin with B, B, or B). Optionally, .info file URLs can be checked for existence with an HTTP HEAD request (see the B<-u> option). +=item - + +If there is a doinst.sh script: + +=over 4 + +=item - + +The SlackBuild must install doinst.sh to I<$PKG/install>. + +=item - + +If doinst.sh uses the config() and/or preserve_perms() functions, the +function must be defined before it's used. Also, config files passed +to config() or preserve_perms() must end with a B<.new> suffix. + +=item - + +If doinst.sh calls B, the existence of the +cache must be checked before this command is run. + +=back + =back =head1 EXIT STATUS -- cgit v1.2.3