termux-packages/x11-packages/fltk-editor/build.sh
Leonid Pliushch 57267c9fec
bump revisions for all packages
Since now X11 packages are official, it is necessary to rebuild
them all to make sure that everything is okay.
2022-04-18 14:08:06 +05:30

18 lines
487 B
Bash

TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_DESCRIPTION="Simple text editor"
TERMUX_PKG_DEPENDS="fltk, libc++"
TERMUX_PKG_VERSION=1.0-termux
TERMUX_PKG_REVISION=5
termux_step_make()
{
"${CXX}" ${CXXFLAGS} -I"${TERMUX_PREFIX}/include" "${TERMUX_PKG_BUILDER_DIR}/fltk-editor.cxx" -o fltk-editor ${LDFLAGS} -lfltk
}
termux_step_make_install()
{
mkdir -p "${TERMUX_PREFIX}/bin"
cp -f fltk-editor "${TERMUX_PREFIX}/bin/fltk-editor"
}