You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 lines
295 B

#!/usr/bin/env sh
#
# pbrisbin 2013 - stupid simple, feature-less aur installer.
#
###
packages='https://aur.archlinux.org/packages'
package_url=$(printf "$1" | sed "s%^\(..\).*%$packages/\1/&/&.tar.gz%")
curl -# "$package_url" | tar fxz - &&
(cd "./$1" && makepkg -i -r -s) && rm -rf "./$1"