summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorabooksigun <abooksigun09@gmail.com>2020-09-04 00:12:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-04 00:12:25 +0700
commit9085ab38db463c85b7e4dd4a722b8b8e1cd9d6a9 (patch)
treee616b164c498fc3a68843bd8998175668352d59d /development
parent1d868d93e3903b82bc0976748fc34ce6ea62656a (diff)
downloadslackbuilds-9085ab38db463c85b7e4dd4a722b8b8e1cd9d6a9.tar.gz
development/Fennel: Updated for version 0.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/Fennel/Fennel.SlackBuild13
-rw-r--r--development/Fennel/Fennel.info6
-rw-r--r--development/Fennel/README2
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: