mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
development/Fennel: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d7828e770f
commit
2e9b146a3f
3 changed files with 14 additions and 7 deletions
|
@ -22,7 +22,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=Fennel
|
||||
VERSION=${VERSION:-0.3.0}
|
||||
VERSION=${VERSION:-0.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -83,7 +83,7 @@ if $(lua5.2 -v &> /dev/null); then
|
|||
install -D -m 0644 fennelview.fnl.lua $PKG/usr/share/lua/5.2/fennelview.lua
|
||||
fi
|
||||
|
||||
# lua 5.3 support
|
||||
# lua 5.3 support.
|
||||
if $(lua5.3 -v &> /dev/null); then
|
||||
sed -i '1s|lua.*|lua5.3|' fennel
|
||||
|
||||
|
@ -93,6 +93,13 @@ if $(lua5.3 -v &> /dev/null); then
|
|||
install -D -m 0644 fennelview.fnl.lua $PKG/usr/share/lua/5.3/fennelview.lua
|
||||
fi
|
||||
|
||||
# luajit support.
|
||||
if $(luajit -v &> /dev/null); then
|
||||
sed -i '1s|lua.*|luajit|' fennel
|
||||
|
||||
install -D -m 0755 fennel $PKG/usr/bin/fenneljit
|
||||
fi
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="Fennel"
|
||||
VERSION="0.3.0"
|
||||
VERSION="0.3.1"
|
||||
HOMEPAGE="https://fennel-lang.org/"
|
||||
DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.3.0/Fennel-0.3.0.tar.gz"
|
||||
MD5SUM="8ee993514eb355332f01b1a67d1c19b4"
|
||||
DOWNLOAD="https://github.com/bakpakin/Fennel/archive/0.3.1/Fennel-0.3.1.tar.gz"
|
||||
MD5SUM="a172545296f427df8908804087898b34"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lua"
|
||||
|
|
|
@ -10,9 +10,9 @@ and reach of Lua with the flexibility of a lisp syntax and macro system.
|
|||
Anywhere you can run Lua code, you can run Fennel code.
|
||||
|
||||
Optional Dependency:
|
||||
* lua52, lua53
|
||||
* lua52, lua53, luajit
|
||||
Default support for all versions of Lua installed before build.
|
||||
After installation there is "fennel5.2" and "fennel5.3" executable files for the
|
||||
After installation there is "fennel5.2", "fennel5.3" and "fenneljit" executable files for the
|
||||
equivalent versions of Lua installed.
|
||||
|
||||
* lua-readline
|
||||
|
|
Loading…
Reference in a new issue