linuxShortcuts/Pacman/aur.sh
Bruno Fontes bb7e074fb3
Update aur.sh
- Changed folder to ~/AUR
- Creating a clean.sh file as we would have some issues during the package installing, so the user will be able to clean the folder easily
2018-06-11 13:38:12 -03:00

8 lines
199 B
Bash

sudo echo
mkdir -p ~/AUR
cd ~/AUR
git clone https://aur.archlinux.org/"$1".git
cd "$1"
echo "cd ..; rm -rf ""$1""" > clean.sh
sudo yes | makepkg -si && ./clean.sh && notify-send """$1"" installed!"