gecko-dev/taskcluster/scripts/misc/build-wine.sh

26 строки
373 B
Bash
Executable File

#!/bin/bash
set -x -e -v
WORKSPACE=$HOME/workspace
HOME_DIR=$WORKSPACE/build
INSTALL_DIR=$WORKSPACE/wine
UPLOAD_DIR=$HOME/artifacts
mkdir -p $INSTALL_DIR
cd $HOME_DIR
# --------------
cd wine-3.0.3
./configure --prefix=$INSTALL_DIR/
make -j$(nproc)
make install
# --------------
cd $WORKSPACE/
tar caf wine.tar.xz wine
mkdir -p $UPLOAD_DIR
cp wine.tar.* $UPLOAD_DIR