diff options
Diffstat (limited to 'development/Fennel/Fennel.SlackBuild')
-rw-r--r-- | development/Fennel/Fennel.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/development/Fennel/Fennel.SlackBuild b/development/Fennel/Fennel.SlackBuild index 56a2b71d88..e05e38cdf8 100644 --- a/development/Fennel/Fennel.SlackBuild +++ b/development/Fennel/Fennel.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Fennel -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,17 +70,17 @@ find -L . \ make fennel -LUAVER=${LUAVER:-"5.1 5.2 5.3 jit"} +LUAVER=${LUAVER:-"5.1 5.2 5.3 5.4 jit"} BINARY=${BINARY:-no} for i in $LUAVER do - if [ $i == 5.1 ] || [ $i == 5.2 ] || [ $i == 5.3 ] || [ $i == jit ] + if [ $i == 5.1 ] || [ $i == 5.2 ] || [ $i == 5.3 ] || [ $i == 5.4 ] || [ $i == jit ] then if [ $i != 5.1 ]; then ver=$i libver=$i include=lua$i; fi if $(lua$ver -v &> /dev/null) then sed -i "1s|lua.*|lua$ver|" fennel - if [ "$BINARY" == "yes" ] + if [ "$BINARY" == "yes" ] && [ $i != 5.1 ] then if [ $i == jit ]; then libver=jit-5.1 include=luajit-2.0; fi make \ @@ -94,12 +94,11 @@ do fi if [ $i != jit ] then - install -D -m 0644 -t $PKG/usr/share/lua/$i fennel.lua fennelfriend.fnl \ - fennelfriend.lua fennelview.fnl fennelview.lua fennelbinary.fnl + install -D -m 0644 -t $PKG/usr/share/lua/$i fennel.lua fennelview.fnl fennelview.lua fi fi else - echo -e 'LUAVER must be one or more of "5.1 5.2 5.3 jit" separated with space' + echo -e 'LUAVER must be one or more of "5.1 5.2 5.3 5.4 jit" separated with space' exit 1 fi done |