pkg(brainfuck-2.7.3): add brainfuck
This commit is contained in:
parent
9003905649
commit
4b409cb011
|
@ -0,0 +1,23 @@
|
|||
#!/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
|
||||
|
||||
cmake ../brainfuck
|
||||
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
|
||||
|
||||
# === autoconf based ===
|
||||
./configure --prefix "$PREFIX"
|
||||
|
||||
|
||||
cd ../
|
||||
rm -rf build brainfuck
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "brainfuck",
|
||||
"version": "2.7.3",
|
||||
"aliases": ["bf"],
|
||||
"author": "Thomas Hobson <git@hexf.me>"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
brainfuck-2.7.3 "$@"
|
|
@ -0,0 +1 @@
|
|||
-[--->+<]>------.----.
|
Loading…
Reference in New Issue