Last active
February 9, 2018 15:17
-
-
Save jesseerwin/5cf75e8d3d0060fecf251714e1e3a91b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
#Delete remnants of last install | |
rm -rf /home/thejerwin/tmp-aur | |
#Clone the repo | |
read -p "Type the package to be installed.. " PACKAGE | |
echo Package $PACKAGE will be installed.. | |
git clone https://aur.archlinux.org/$PACKAGE.git /home/thejerwin/tmp-aur | |
#Install PKGBUILD | |
cd /home/thejerwin/tmp-aur | |
read -p "Would you like to continue building $PACKAGE? " CHOICE | |
if [ $CHOICE="Y" ] then | |
makepkg -si | |
else | |
exit | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment