#!/bin/bash # # # Doing a bit of testing, cURL should pull the contents of the index.html even if they're not valid HTML right? Will update readme if this works # That's the reason for the existance of a index.html in a shell script based project. # # Did the testing....it works. How jank. Viewing the page in a browser is kinda broken, but whatev. # echo "" echo "This version of SimpleAUR will tell you exactly what it's doing. This will be added to the main branch eventually!" echo "Hello again. Creating temp directory...." TEMP_DIR=$(mktemp -d -t aarav.yayinstaller.XXXXXXX) trap 'printf "\nExiting...." ; exit 1' SIGINT echo "" echo "Temp directory created at" $TEMP_DIR package=yay echo "You are installing "$package set -e echo "" echo "Running git clone" cd $TEMP_DIR git clone https://aur.archlinux.org/"$package".git cd $package makepkg -si y exit 0