Commit | Line | Data |
---|---|---|
89df5522 FF |
1 | TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/zile/ |
2 | TERMUX_PKG_DESCRIPTION="Lightweight clone of the Emacs text editor" | |
3 | TERMUX_PKG_VERSION=2.4.11 | |
4 | TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz | |
5 | TERMUX_PKG_DEPENDS="libgc, ncurses" | |
6 | TERMUX_PKG_BUILD_IN_SRC=yes | |
7 | ||
8 | termux_step_pre_make () { | |
9 | # zile uses help2man to build the zile.1 man page, which would require | |
10 | # a host build. To avoid that just copy a pre-built man page. | |
11 | cp $TERMUX_PKG_BUILDER_DIR/zile.1 $TERMUX_PKG_BUILDDIR/doc/zile.1 | |
12 | $TERMUX_TOUCH -d "next hour" $TERMUX_PKG_BUILDDIR/doc/zile.1* | |
13 | } |