您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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