-
-
Save csivanich/36d876e330d19bb990c5 to your computer and use it in GitHub Desktop.
A small script for arch linux which builds and installs "pacaur" automatically
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| buildroot="/tmp/build-$(id -u)" | |
| # Fetch Dave Reisner's key to verify cower. | |
| gpg --recv-keys 487EACC08557AD082088DABA1EB2638FF56C0C53 | |
| # Ask for user passwort once, see sudo(8). | |
| sudo -v | |
| # Make sure we can even build packages on arch linux. | |
| sudo pacman -S --needed --noconfirm base-devel curl | |
| mkdir -p ${buildroot} | |
| mkdir ${buildroot}/cower ${buildroot}/pacaur | |
| cd ${buildroot}/cower | |
| curl -L https://aur.archlinux.org/packages/co/cower/PKGBUILD > PKGBUILD | |
| makepkg --syncdeps --install --noconfirm | |
| cd ${buildroot}/pacaur | |
| curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD | |
| makepkg --syncdeps --install --noconfirm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment