mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
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
|