This file contains 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 | |
sudo true || (echo "fatal: Root is needed to perform an upgrade!" & kill $$) | |
sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa | |
sudo apt-get update | |
sudo apt-get -y install git libprotobuf-dev protobuf-compiler qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools qttools5-dev qtmultimedia5-dev libqt5svg5-dev cmake | |
cd ~ | |
git clone git://github.com/Daenyth/Cockatrice | |
cd Cockatrice | |
mkdir build | |
cd build |