Last active
February 1, 2023 21:46
-
-
Save RustyRaptor/d0685787e0fc94904da116f967f6b6b5 to your computer and use it in GitHub Desktop.
clone an install an AUR package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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
updated to install multiple packages with list of arguments.