fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
0df6fa791
master
1#checkinstall 2 3# Set yes/no variable 4set -l yn"yes no" 5 6# Base-level completion 7complete -c checkinstall -f 8 9# Package type selection 10complete -c checkinstall -x -o t -l type -a"slackware rpm debian" -d"Choose packaging system" 11complete -c checkinstall -f -o S -d"Build a Slackware package" 12complete -c checkinstall -f -o R -d"Build an RPM package" 13complete -c checkinstall -f -o D -d"Build a Debian package" 14 15# Install options 16complete -c checkinstall -x -l install -a" $yn " -d"Toggle created package installation" 17complete -c checkinstall -x -l fstrans -a" $yn " -d"Enable/disable the filesystem translation code" 18 19# Scripting options 20complete -c checkinstall -f -o y -l default -d"Accept default answers to all questions" 21complete -c checkinstall -x -l pkgname -d"Set name" 22complete -c checkinstall -x -l pkgversion -d"Set version" 23complete -c checkinstall -x -o A -l arch -l pkgarch -d"Set architecture" 24complete -c checkinstall -x -l pkgrelease -d"Set release" 25complete -c checkinstall -x -l pkglicense -d"Set license" 26complete -c checkinstall -x -l pkggroup -d"Set software group" 27complete -c checkinstall -x -l pkgsource -d"Set source location" 28complete -c checkinstall -x -l pkgalitsource -d"Set alternate source location" 29complete -c checkinstall -F -r -l pakdir -a"(__fish_complete_directories)" -d"The new package will be saved here" 30complete -c checkinstall -x -l maintainer -d"The package maintainer (.deb)" 31complete -c checkinstall -x -l provides -d"Features provided by this package" 32complete -c checkinstall -x -l requires -d"Features required by this package" 33complete -c checkinstall -x -l recommends -d"Features recommended by this package" 34complete -c checkinstall -x -l sggests -d"Features suggested by this package" 35complete -c checkinstall -x -l conflicts -d"Packages that this package cannot be installed with (.deb)" 36complete -c checkinstall -x -l replaces -d"Packages that this package replaces (.deb)" 37complete -c checkinstall -x -l rpmflags -d"Pass these flags to the rpm installer" 38complete -c checkinstall -f -l rpmi -d"Use the -i flag for rpm when installing a .rpm" 39complete -c checkinstall -f -l rpmu -d"Use the -U flag for rpm when installing a .rpm" 40complete -c checkinstall -x -l dpkgflags -d"Pass these flags to the dpkg installer" 41complete -c checkinstall -x -l spec -a"(__fish_complete_path)" -d".spec file location" 42complete -c checkinstall -f -l nodoc -d"Do not include documentation files" 43 44# Info display options 45complete -c checkinstall -x -o d -a"0 1 2" -d"Set debug level" 46complete -c checkinstall -f -o si -d"Run an interactive install command" 47complete -c checkinstall -x -l showinstall -a" $yn " -d"Toggle interactive install command" 48complete -c checkinstall -f -o ss -d"Run an interactive Slackware installation script" 49complete -c checkinstall -x -l showslack -a" $yn " -d"Toggle interactive Slackware installation script" 50 51# Package tuning options 52complete -c checkinstall -x -l autodoinst -a" $yn " -d"Toggle the creation of a doinst.sh script" 53complete -c checkinstall -x -l strip -a" $yn " -d"Strip any ELF binaries found inside the package" 54complete -c checkinstall -x -l stripso -a" $yn " -d"Strop any ELF binary libraries (.so files)" 55complete -c checkinstall -x -l addso -a" $yn " -d"Search for ant shared libs and add them to /etc/ld.so.conf" 56complete -c checkinstall -x -l reset-uids -a" $yn " -d"Reset perms for all files" 57complete -c checkinstall -x -l gzman -a" $yn " -d"Compress any man pages found inside the package" 58complete -c checkinstall -x -l docdir -a"(__fish_complete_directories)" -d"Where to put documentation files" 59complete -c checkinstall -x -l umask -d"Set the umask value" 60complete -c checkinstall -x -l exclude -a"(__fish_complete_path)" -d"Exclude these files/directories from the package" 61complete -c checkinstall -F -r -l include -d"Include file/directories in this file in the package" 62complete -c checkinstall -f -l inspect -d"Inspect the package's file list" 63complete -c checkinstall -f -l review-spec -d"Review the dpec file before creating a .rpm" 64complete -c checkinstall -f -l review-control -d"Review the control file before creating a .deb" 65complete -c checkinstall -f -l newslack -d"Use the new (8.1+) Slackware description format" 66complete -c checkinstall -F -l with-tar -d"Manually set the path to the tar binary" 67 68# Cleanup options 69complete -c checkinstall -x -l deldoc -a" $yn " -d"Delete doc-pak upon termination" 70complete -c checkinstall -x -l deldesc -a" $yn " -d"Delete description-pak upon termination" 71complete -c checkinstall -x -l delspec -a" $yn " -d"Delete spec file upon termination" 72complete -c checkinstall -f -l bk -d"Backup any overwritten files" 73complete -c checkinstall -x -l backup -a" $yn " -d"Toggle backup" 74 75# About checkinstall 76complete -c checkinstall -f -o h -l help -d"Show help" 77complete -c checkinstall -f -l copyright -d"Show Copyright information" 78complete -c checkinstall -f -l version -d"Show version information"