diff options
author | abooksigun <abooksigun09@gmail.com> | 2019-12-19 22:43:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-19 22:43:03 +0700 |
commit | 2e9b146a3f9f755c1acd323db2e71d66c441c838 (patch) | |
tree | 6b9bbcb5736f3d4200daef8ba044663a9cc5c342 /development/Fennel/Fennel.SlackBuild | |
parent | d7828e770f240ae19a8b35da38ed1f335da5eb07 (diff) |
development/Fennel: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/Fennel/Fennel.SlackBuild')
-rw-r--r-- | development/Fennel/Fennel.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/development/Fennel/Fennel.SlackBuild b/development/Fennel/Fennel.SlackBuild index 7f3f27107b60..3abb4745fa98 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.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 |