1
0
Fork 0
dotfiles2000/system/arch/lib/installFromAur.sh
2024-10-31 22:09:39 +01:00

11 lines
328 B
Bash
Executable file

#!/bin/bash
package=$1
cd /tmp
/usr/bin/curl --silent --remote-name https://aur.archlinux.org/cgit/aur.git/snapshot/$package.tar.gz
/usr/bin/tar --extract --gzip --file $package.tar.gz
cd $package
/usr/bin/makepkg --install --syncdeps --noconfirm
cd /tmp
/usr/bin/sudo /usr/bin/rm --recursive --force $package.tar.gz $package