aboutsummaryrefslogtreecommitdiffstats
path: root/community/fennel/APKBUILD
diff options
context:
space:
mode:
authorWill Sinatra <wpsinatra@gmail.com>2020-08-17 20:34:16 -0400
committerLeo <thinkabit.ukim@gmail.com>2020-08-18 08:52:21 +0000
commit399664a3cc58798840863030f2f0fa2ade633718 (patch)
tree71565118441ae124c3232ee643c300c9ee631131 /community/fennel/APKBUILD
parent39eb818370f8bbefe59b96d7d681a402bf8a088b (diff)
downloadaports-399664a3cc58798840863030f2f0fa2ade633718.tar.gz
aports-399664a3cc58798840863030f2f0fa2ade633718.tar.bz2
aports-399664a3cc58798840863030f2f0fa2ade633718.tar.xz
community/fennel: fix broken --compile-binary function
Diffstat (limited to 'community/fennel/APKBUILD')
-rwxr-xr-xcommunity/fennel/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/fennel/APKBUILD b/community/fennel/APKBUILD
index 764188f26c..ae8d13beea 100755
--- a/community/fennel/APKBUILD
+++ b/community/fennel/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=fennel
pkgver=0.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="A Lua Lisp Language"
url="https://fennel-lang.org"
arch="all"
@@ -18,6 +18,7 @@ check() {
build() {
make fennel-bin LUA=lua5.3 STATIC_LUA_LIB=/usr/lib/liblua-5.3.so.0.0.0
+ ./fennel-bin --compile src/fennel/binary.fnl > binary.lua
}
package() {
@@ -27,8 +28,8 @@ package() {
install -Dm644 "fennel.lua" \
-t "$pkgdir/usr/share/lua/$_lua_version/"
- install -Dm644 "fennelview.fnl" \
- -t "$pkgdir/usr/share/lua/$_lua_version/"
+ install -Dm644 "binary.lua" \
+ -t "$pkgdir/usr/share/lua/$_lua_version/fennel/"
install -Dm644 "fennel.1" \
-t "$pkgdir/usr/share/man/man1/fennel.1"