3 ms·
#!/bin/bash set -e if [ -z "$1" ]; then echo "No package name specified."; exit; fi mkdir -p $1 cd $1 wget -q "https://aur.archlinux.org/cgit/aur.git/snapsh
by blarg1 8y ago
#!/bin/bash
set -e
if [ -z "$1" ]; then echo "No package name specified."; exit; fi
mkdir -p $1
cd $1
wget -q "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz" https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz"
tar xzf $1.tar.gz
cd $1
makepkg -sf
read -n 1 -s -p "Press any key to continue..."
echo -e "\n"
sudo pacman -U --noconfirm --needed $1*pkg.tar.xz
- thsowers 8y agoNow _that's_ a package manager!