|
|
@ -184,11 +184,12 @@ process_arg() { |
|
|
|
echo " -r Remove installed dependencies after build" |
|
|
|
echo " -r Remove installed dependencies after build" |
|
|
|
echo " --pkg <list> Only build selected packages (when working with split packages)" |
|
|
|
echo " --pkg <list> Only build selected packages (when working with split packages)" |
|
|
|
echo " --asdeps Pass --asdeps to pacman for all installed packages" |
|
|
|
echo " --asdeps Pass --asdeps to pacman for all installed packages" |
|
|
|
echo " --no-needed, --reinstall" |
|
|
|
echo " --reinstall Reinstall installed packages, even when version info matches." |
|
|
|
echo " Don't pass --needed to pacman" |
|
|
|
echo " --needed Opposite of --reinstall (default)" |
|
|
|
echo " --no-noconfirm" |
|
|
|
echo " --noconfirm Skip makepkg/pacman confirmation prompts (default)" |
|
|
|
echo " Don't pass --noconfirm to makepkg/pacman" |
|
|
|
|
|
|
|
echo " -o, --nobuild Download and extract sources only. Implies --noclean" |
|
|
|
echo " -o, --nobuild Download and extract sources only. Implies --noclean" |
|
|
|
|
|
|
|
echo " -f, --force Force rebuilding of built packages. Implies --reinstall" |
|
|
|
|
|
|
|
echo " --no- Negate options: --no-asdeps --no-noconfirm" |
|
|
|
echo |
|
|
|
echo |
|
|
|
echo "NOTE: options marked [c] require cower to be installed (\$ aur.sh -is cower)" |
|
|
|
echo "NOTE: options marked [c] require cower to be installed (\$ aur.sh -is cower)" |
|
|
|
echo " However, certain cower-only features are automatically enabled when cower is found." |
|
|
|
echo " However, certain cower-only features are automatically enabled when cower is found." |
|
|
@ -208,19 +209,28 @@ process_arg() { |
|
|
|
color 35 echo "Cleaned leftover temporary files." |
|
|
|
color 35 echo "Cleaned leftover temporary files." |
|
|
|
exit 0;; |
|
|
|
exit 0;; |
|
|
|
# Inverted makepkg args |
|
|
|
# Inverted makepkg args |
|
|
|
--asdeps|--no-asexplicit) |
|
|
|
--asdeps) |
|
|
|
ASDEPS=true;; |
|
|
|
ASDEPS=true;; |
|
|
|
--no-asdeps|--asexplicit) |
|
|
|
--no-asdeps) |
|
|
|
ASDEPS=false;; |
|
|
|
ASDEPS=false;; |
|
|
|
|
|
|
|
--asexplicit) |
|
|
|
|
|
|
|
echo "NOTE: --asexplicit and --no-asexplicit are DEPRECATED." |
|
|
|
|
|
|
|
ASDEPS=false;; |
|
|
|
|
|
|
|
--no-asexplicit) |
|
|
|
|
|
|
|
echo "NOTE: --asexplicit and --no-asexplicit are DEPRECATED." |
|
|
|
|
|
|
|
ASDEPS=true;; |
|
|
|
--needed|--no-reinstall) |
|
|
|
--needed|--no-reinstall) |
|
|
|
NEEDED=true;; |
|
|
|
NEEDED=true;; |
|
|
|
--no-needed|--reinstall) |
|
|
|
--reinstall|--no-needed) |
|
|
|
NEEDED=false;; |
|
|
|
NEEDED=false;; |
|
|
|
--noconfirm) |
|
|
|
--noconfirm) |
|
|
|
NOCONFIRM=true;; |
|
|
|
NOCONFIRM=true;; |
|
|
|
--no-noconfirm) |
|
|
|
--no-noconfirm) |
|
|
|
NOCONFIRM=false;; |
|
|
|
NOCONFIRM=false;; |
|
|
|
# Makepkg args |
|
|
|
# Makepkg args |
|
|
|
|
|
|
|
-f|--force) |
|
|
|
|
|
|
|
NEEDED=false; |
|
|
|
|
|
|
|
add_makepkg_arg "$cx";; |
|
|
|
-o|--nobuild) # Remember some stuff for own use |
|
|
|
-o|--nobuild) # Remember some stuff for own use |
|
|
|
NOCLEAN=true |
|
|
|
NOCLEAN=true |
|
|
|
add_makepkg_arg "$cx";; |
|
|
|
add_makepkg_arg "$cx";; |
|
|
|