piston/packages/mono/6.12.0/build.sh

20 lines
324 B
Bash
Raw Normal View History

2021-03-13 07:53:00 +01:00
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build/mono
cd build
curl "https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz" -o mono.tar.xz
tar xf mono.tar.xz --strip-components=1 -C mono
cd mono
./configure --prefix "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ../../
rm -rf build