Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (10 sloc) 254 Bytes
#!/usr/bin/bash -e
#
# pbrisbin 2013 - stupid simple, feature-less aur installer.
#
###
(( $# )) || exit 1
AUR='https://aur.archlinux.org/packages'
curl -# "$AUR/${1:0:2}/$1/${1}.tar.gz" | tar fxz -
cd "./$1" ; makepkg -i -r -s
cd .. ; rm -r "$1"