diff options
-rw-r--r-- | development/Fennel/Fennel.SlackBuild | 13 | ||||
-rw-r--r-- | development/Fennel/Fennel.info | 6 | ||||
-rw-r--r-- | development/Fennel/README | 2 |
3 files changed, 10 insertions, 11 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 diff --git a/development/Fennel/Fennel.info b/development/Fennel/Fennel.info index 70ac392d2f..9d0e06c8f9 100644 --- a/development/Fennel/Fennel.info +++ b/development/Fennel/Fennel.info @@ -1,8 +1,8 @@ PRGNAM="Fennel" -VERSION="0.4.1" +VERSION="0.5.0" HOMEPAGE="https://fennel-lang.org/" -DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.4.1/Fennel-0.4.1.tar.gz" -MD5SUM="278fe8d1a99af2c3a8bd618de4de4993" +DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.5.0/Fennel-0.5.0.tar.gz" +MD5SUM="01480cc8f136f792d54d7fd610e0b189" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" diff --git a/development/Fennel/README b/development/Fennel/README index 6990ade242..f349061616 100644 --- a/development/Fennel/README +++ b/development/Fennel/README @@ -17,7 +17,7 @@ To specify which Lua versions: After installation there are one or more fennel executable files for the equivalent versions of Lua. -To install compiled binary versions (experimental): +To install compiled binary versions (experimental, only works with lua5.2 or higher): BINARY=yes Optional dependency: |