mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Switch from pacaur to yaourt, again
This commit is contained in:
@ -1,25 +0,0 @@
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
echo "You cannot run makepkg as root."
|
||||
echo "Please run this script again as a non-elevated user"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install dependencies
|
||||
sudo pacman -S --asdeps git curl yajl gnupg
|
||||
|
||||
mkdir cower && cd cower
|
||||
|
||||
# Get PGP keys so it builds
|
||||
gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53
|
||||
|
||||
# Fetch, build and install cower
|
||||
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
|
||||
makepkg -sri
|
||||
|
||||
# Fetch, build and install pacaur
|
||||
cd .. && mkdir pacaur && cd pacaur
|
||||
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur > PKGBUILD
|
||||
makepkg -sri
|
||||
|
||||
cd ..
|
||||
rm -rf cower pacaur
|
21
scripts/install-yaourt
Executable file
21
scripts/install-yaourt
Executable file
@ -0,0 +1,21 @@
|
||||
if [[ $EUID -eq 0 ]]; then
|
||||
echo "You cannot run makepkg as root."
|
||||
echo "Please run this script again as a non-elevated user"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install git dependency
|
||||
sudo pacman -S --asdeps git
|
||||
|
||||
cd /tmp
|
||||
git clone https://aur.archlinux.org/package-query.git
|
||||
cd package-query
|
||||
makepkg -sri
|
||||
|
||||
cd ..
|
||||
git clone https://aur.archlinux.org/yaourt.git
|
||||
cd yaourt
|
||||
makepkg -sri
|
||||
|
||||
cd ..
|
||||
rm -rf package-query yaourt
|
Reference in New Issue
Block a user