-
Piotr Maślanka authored6fa4ea76
build.sh 735 B
#!/bin/bash
set -e
export DISPLAY=:0.0
export WINEPREFIX="/home/vagrant/.wine"
export WINEARCH="win32"
apt-get update
apt-get install -y python-software-properties
# Repositories
## Mono
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/ubuntu precise main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
# Install WINE things
apt-get install -y wine winetricks xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic unzip curl fontconfig
# Install command
cp -f /vagrant/tibbo_build.sh /usr/sbin/tibbo_build
chmod ugo+rx /usr/sbin/tibbo_build
# Sanitize
chown -R vagrant:vagrant /home/vagrant