Last active
November 14, 2016 12:00
-
-
Save xerpi/a5724992184e6fa00d23a7b1e507ebb5 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
INSTALL_DIR=/opt/vitasdk | |
sudo rm -rf $INSTALL_DIR | |
sudo mkdir -p $INSTALL_DIR | |
sudo chown $USER $INSTALL_DIR | |
sudo apt-get install -y git cmake geany | |
toolchain=vitasdk-2016-11-12_23-08-48-linux-x86_64-nightly-267daefdc79e3f36b89632e7afad9dfe0f177ad3.tar.bz2 | |
url="https://dl.bintray.com/vitasdk/vitasdk/$toolchain" | |
wget -nc -O "$toolchain" $url | |
tar --keep-newer-files -xvjf "$toolchain" | |
sudo cp -rf vitasdk/* $INSTALL_DIR | |
rm -rf vitasdk | |
echo "# VITASDK" >> ~/.bashrc | |
echo "export VITASDK=$INSTALL_DIR" >> ~/.bashrc | |
echo "export PATH=$INSTALL_DIR/bin:\$PATH" >> ~/.bashrc | |
export VITASDK="$INSTALL_DIR" | |
export PATH="$INSTALL_DIR/bin:$PATH" | |
git clone https://github.com/vitadev/vdpm | |
cd vdpm | |
cp config.sample config | |
./install-all.sh | |
cd .. | |
rm -rf vdpm | |
git clone --recursive https://github.com/yifanlu/taiHEN.git | |
cd taiHEN && mkdir build && cd build | |
cmake .. -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR/arm-vita-eabi" | |
make -j8 && make install | |
cd ../.. | |
git clone https://github.com/henkaku/henkaku.git | |
cd henkaku | |
./build.sh sample.config.in | |
cd .. | |
# Install Geany themes | |
git clone https://github.com/codebrainz/geany-themes.git | |
cd geany-themes | |
./install.sh | |
cd .. | |
rm -rf geany-themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment