Last active
January 4, 2016 23:17
-
-
Save serverhiccups/26d374380cdcb8eed7fe to your computer and use it in GitHub Desktop.
A kea installer for Mac OSX.
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
#!/bin/bash | |
#This is a shell script created by hiccup01 to install kea on Mac OSX. | |
VERSION="0.0.1" #Installer version | |
BVERSION="0.2.2" #Browser version | |
echo "Thanks for installing kea" | |
echo "You are running Mac OSX kea installer version $VERSION for kea version $BVERSION." | |
echo "This installer was created by hiccup01 (hiccup01.com)" | |
sleep 1 | |
echo "At some points you may be prompted to enter your password. Type it and press \"enter\". (It will not display your password on screen)" | |
sleep 3 | |
echo "Attempting to install brew package mananger, if brew is already installed this will have no effect" | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing kea dependencies" | |
brew install webkitgtk unp gnu-tar gzip wget | |
$DIRECTORY="~" | |
cd $DIRECTORY | |
echo "Creating directory." | |
mkdir "kea" | |
cd kea | |
echo "Downloading kea." | |
wget https://github.com/Jonathan50/kea-browser/releases/download/v$BVERSION/kea-$BVERSION.tar.gz | |
echo "Unziping." | |
unp kea-$BVERSION.tar.gz | |
cd kea-$BVERSION | |
echo "Configuring." | |
./configure | |
echo "making and installing" | |
make && sudo make install | |
echo "kea is installed. Run \"kea\" to run it." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment