pkg(lolcode-0.11.2): update build script to use correct lolcode version (#237)

Co-authored-by: Vargas, Dan <dan.vargas@frostbank.com>
This commit is contained in:
Dan Vargas 2021-04-27 21:15:34 -05:00 committed by GitHub
parent 08ea3b3740
commit 3dfade7c91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -2,9 +2,12 @@
PREFIX=$(realpath $(dirname $0)) PREFIX=$(realpath $(dirname $0))
# Cloning lolcode source mkdir -p build
git clone https://github.com/justinmeza/lci.git lolcode cd build
cd lolcode
# lolcode release
curl -L "https://github.com/justinmeza/lci/archive/refs/tags/v0.11.2.tar.gz" -o lolcode.tar.gz
tar xzf lolcode.tar.gz --strip-components=1
# Building and installing lolcode # Building and installing lolcode
cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" . cmake -DCMAKE_INSTALL_PREFIX:STRING="$PREFIX" .
@ -12,4 +15,4 @@ make -j$(nproc)
make install -j$(nproc) make install -j$(nproc)
# Cleaning up # Cleaning up
cd ../ && rm -rf lolcode cd ../ && rm -rf build