scripts-main/dogecoin-update-script.sh

31 lines
683 B
Bash
Raw Normal View History

2018-06-21 22:49:50 -05:00
#!/bin/bash
echo "Installing Dependencies"
sudo apt-get -y install libssl-dev libdb-dev libdb++-dev libqrencode-dev qt4-qmake libqtgui4 libqt4-dev libminiupnpc-dev libminiupnpc8 libboost1.53-all-dev build-essential git
cd /tmp
git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin
sed -i 's/-mgw46-mt-sd-1_53//g' dogecoin-qt.pro
qmake USE_UPNP=- USE_QRCODE=0 USE_IPV6=0
make -j5
sudo install -Dm644 src/qt/res/icons/bitcoin.png /usr/share/pixmaps/dogecoin.png
sudo install -Dm755 dogecoin-qt /usr/bin
wget http://scripts.homebutter.com/dogecoin.desktop
sudo install -Dm644 dogecoin.desktop /usr/share/applications/dogecoin.desktop
cd
sudo rm -r /tmp/dogecoin