-
-
Save ahnan4arch/ece52e6c849eb7be67c617eada57ed8d to your computer and use it in GitHub Desktop.
Install pacaur on Arch Linux
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
| if ! command -v pacaur >/dev/null; then | |
| tmp=$(mktemp -d) | |
| function finish { | |
| rm -rf "$tmp" | |
| } | |
| trap finish EXIT | |
| pushd $tmp | |
| for pkg in cower pacaur; do | |
| curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=$pkg && \ | |
| makepkg --needed --noconfirm --skippgpcheck -sri | |
| done | |
| popd | |
| if ! command -v pacaur >/dev/null; then | |
| >&2 echo "Pacaur wasn't successfully installed" | |
| exit 1 | |
| fi | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment