mirror of https://github.com/captn3m0/Scripts.git
9 lines
167 B
Bash
9 lines
167 B
Bash
|
#!/bin/bash
|
||
|
d=${BUILDDIR:-$PWD}
|
||
|
for p in ${@##-*}
|
||
|
do
|
||
|
cd "$d"
|
||
|
curl "https://aur.archlinux.org/cgit/aur.git/snapshot/$p.tar.gz" |tar xz
|
||
|
cd "$p"
|
||
|
makepkg ${@##[^\-]*}
|
||
|
done
|