mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
1ce8e58993
Removed Makefile.patch, which no longer applied due to changes in the Makefile. Instead, exported the relevant overrides from build.sh, as both LUA_VERSION and LUA are set with ?=, making them overridable via environment variables. Dropped `BIN_LUA_VERSION` and `MAN_PANDOC` overrides; neither of these are used during `make install` - the man pages are built during the Fennel release process and checked into the repository for each tag.
16 lines
533 B
Bash
16 lines
533 B
Bash
TERMUX_PKG_HOMEPAGE="https://fennel-lang.org"
|
|
TERMUX_PKG_DESCRIPTION="A Lisp that compiles to Lua"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.5.1
|
|
TERMUX_PKG_SRCURL="https://github.com/bakpakin/Fennel/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
|
|
TERMUX_PKG_SHA256=7456737a2e0fc17717ea2d80083cfcf04524abaa69b1eb79bded86b257398cd0
|
|
TERMUX_PKG_DEPENDS="lua53"
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
export LUA_VERSION=5.3
|
|
export LUA=lua5.3
|
|
}
|