Skip to content

Instantly share code, notes, and snippets.

@RustyRaptor
Last active February 1, 2023 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RustyRaptor/d0685787e0fc94904da116f967f6b6b5 to your computer and use it in GitHub Desktop.
Save RustyRaptor/d0685787e0fc94904da116f967f6b6b5 to your computer and use it in GitHub Desktop.
clone an install an AUR package
#!/bin/bash
# Installs a given list of AUR packages
# Place in the folder where you want to clone your AUR packages
# Has to be a folder with nothing but AUR repos. Other folders will break this.
# example ./install_aur obs-studio-git teamviewer teams tbsm
for dep in "$@"
do
git clone "https://aur.archlinux.org/$dep.git"
cd $dep
makepkg -si --noconfirm
cd ..
done
@RustyRaptor
Copy link
Author

updated to install multiple packages with list of arguments.

@RustyRaptor
Copy link
Author

oops broke it. Updated to fix issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment