We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
aura-bin
git
wget
1 parent 5fa628f commit 439a325Copy full SHA for 439a325
bootstrap/install-aur
@@ -13,15 +13,21 @@ fail() {
13
}
14
15
i() {
16
- wget "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz" || fail
17
- tar -xvf "$1".tar.gz && rm "$1".tar.gz
18
- sh -c "cd $1 && makepkg -si --skippgpcheck" || { rm -r "$1" && fail ; }
19
- rm -r "$1"
+ git clone "https://aur.archlinux.org/${1}.git" "/tmp/${1}" || fail
+ pushd "/tmp/${1}" || fail
+ if makepkg -si --skippgpcheck ; then
+ popd
20
+ rm -rf "/tmp/${1}"
21
+ else
22
23
24
+ fail
25
+ fi
26
27
28
if ! command -v aura 1>/dev/null 2>&1 ; then
29
echo 'installing aura'
- sudo pacman -S wget --noconfirm --needed
30
+ sudo pacman -S git --noconfirm --needed
31
i aura-bin
32
fi
33
0 commit comments