From fed0a3eeaf330a708bce6befd086c62b767aa806 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Fri, 19 Mar 2021 22:34:41 +1300 Subject: [PATCH] pkg(brainfuck-2.7.3): relocate fs tree --- packages/brainfuck/2.7.3/build.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/brainfuck/2.7.3/build.sh b/packages/brainfuck/2.7.3/build.sh index ae896ff..2e15179 100644 --- a/packages/brainfuck/2.7.3/build.sh +++ b/packages/brainfuck/2.7.3/build.sh @@ -3,16 +3,17 @@ # Put instructions to build your package in here PREFIX=$(realpath $(dirname $0)) -mkdir -p build - git clone https://github.com/fabianishere/brainfuck.git +cd brainfuck + +mkdir -p build cd build -cmake -DCMAKE_INSTALL_PREFIX=$PREFIX/ -DENABLE_EDITLINE=OFF ../brainfuck +cmake -DCMAKE_INSTALL_PREFIX=$PREFIX/ -DENABLE_EDITLINE=OFF .. make -j$(nproc) make install -j$(nproc) -cd ../ -rm -rf build brainfuck +cd ../../ +rm -rf brainfuck