-
-
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)" | |
| # 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 --skippgpcheck --install | |
| cd ${buildroot}/pacaur | |
| curl -L https://aur.archlinux.org/packages/pa/pacaur/PKGBUILD > PKGBUILD | |
| makepkg --syncdeps --skippgpcheck --install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment