2021-03-19 10:13:27 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Put instructions to build your package in here
|
|
|
|
PREFIX=$(realpath $(dirname $0))
|
|
|
|
|
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
git clone https://github.com/fabianishere/brainfuck.git
|
|
|
|
|
|
|
|
cd build
|
|
|
|
|
2021-03-19 10:24:40 +01:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DENABLE_EDITLINE=OFF ../brainfuck
|
2021-03-19 10:13:27 +01:00
|
|
|
|
|
|
|
make -j$(nproc)
|
|
|
|
make install -j$(nproc)
|
|
|
|
|
|
|
|
cd ../
|
|
|
|
rm -rf build brainfuck
|