mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
pkg(golfscript-1.0.0): Add golfscript 1.0.0 (#221)
This commit is contained in:
parent
353de20ae9
commit
2a85951426
5 changed files with 24 additions and 0 deletions
10
packages/golfscript/1.0.0/build.sh
vendored
Executable file
10
packages/golfscript/1.0.0/build.sh
vendored
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# golfscript was implemented as a Ruby script originally
|
||||
source ../../ruby/2.5.1/build.sh
|
||||
|
||||
curl "http://www.golfscript.com/golfscript/golfscript.rb" -o bin/golfscript.rb
|
||||
|
||||
# using the shebang to run it with the right Ruby
|
||||
sed -i "s|/usr/bin/|$PWD/bin/|g" bin/golfscript.rb
|
||||
chmod +x bin/golfscript.rb
|
Loading…
Add table
Add a link
Reference in a new issue