termux-packages/x11-packages/lite-xl/build.sh

22 lines
760 B
Bash
Raw Normal View History

2021-11-09 22:29:51 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/lite-xl/lite-xl
TERMUX_PKG_DESCRIPTION="A lightweight text editor written in Lua"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@leapofazzam123"
TERMUX_PKG_VERSION=2.0.3
2022-03-13 07:26:54 +01:00
TERMUX_PKG_REVISION=1
2021-11-09 22:29:51 +01:00
TERMUX_PKG_SRCURL="https://github.com/lite-xl/lite-xl/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=6c8a4ea284f102f772e3aff583236e89d5b1171664526dd501000b681ae5c4e2
TERMUX_PKG_DEPENDS="sdl2, freetype, liblua52"
termux_step_pre_configure() {
# reproc needs librt but we don't have it
# and we can't directly patch subprojects
# because it needs to be patch after
# meson downloads it
echo 'INPUT(-lc)' > $TERMUX_PREFIX/lib/librt.so
}
termux_step_post_make_install() {
rm $TERMUX_PREFIX/lib/librt.so
}