-
-
Save stagfoo/1b941d359e21ec600c68590b5d4d18bb to your computer and use it in GitHub Desktop.
install cockatrice bleeding-edge on xubuntu
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 | |
cmake .. | |
make | |
sudo make install |
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 apt-get update | |
sudo apt-get -y upgrade 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 ~/Cockatrice | |
git pull | |
mkdir build &>/dev/null | |
cd build | |
cmake .. | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment