_sboconfig (1684B)
1 #compdef sboconfig 2 3 # sbotools: https://pink-mist.github.io/sbotools/ 4 5 _arguments \ 6 - info \ 7 '(-)'{-h,--help}'[Show help.]:' \ 8 '(-)'{-v,--version}'[Show version.]:' \ 9 '(-)'{-l,--list}'[List current configuration options (including unmodified defaults).]:' \ 10 - commands \ 11 '(-c --noclean)'{-c,--noclean}'[If TRUE, then do not clean working directories after build.]:clean work dirs?:((TRUE\:"Clean works directories" FALSE\:"Keep work directories"))' \ 12 '(-d --distclean)'{-d,--distclean}'[If TRUE, then remove source code after building.]:clean source?:((TRUE\:"Remove source" FALSE\:"Keep source"))' \ 13 '(-f --fallback-archive)'{-f,--fallback-archive}'[Fallback URL to download package sources. FALSE to disable.]:use fallback achive?:((FALSE\:"Disable"))' \ 14 '(-g --gpg-key)'{-g,--gpg-key}'[The gpg key used for verification, FALSE to disable.]:use gpg?:((FALSE\:"Do not verify"))' \ 15 '(-j --jobs)'{-j,--jobs}'[Number fed to -j# for make.]:number of jobs (make):()' \ 16 '(-p --pkg-dir)'{-p,--pkg-dir}'[Directory to store built packages in.]:package directory:_files -/' \ 17 '(-s --sbo-home)'{-s,--sbo-home}'[Directory for SBo tree (default /usr/sbo).]:SBo home dir:_files -/' \ 18 '(-o --local-overrides)'{-o,--local-overrides}'[Directory for local SlackBuild overrides.]:overrides directory:_files -/' \ 19 '(-V --slackware-version)'{-V,--slackware-version}'[Use SBo repo for this version (instead of /etc/slackware-version).]:Slackware version:()' \ 20 '(-r --repo)'{-r,--repo}'[Use git/rsync repo at URL instead of the SBo repo for your SLACKWARE_VERSION.]:repo URL:()' \ 21 && return 0 22 23 return 1 24 25 # Local Variables: 26 # mode: sh 27 # End: