2015-11-15 22:43:01 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/zile/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Lightweight clone of the Emacs text editor"
|
|
|
|
TERMUX_PKG_VERSION=2.4.11
|
2015-11-16 01:43:52 +01:00
|
|
|
TERMUX_PKG_BUILD_REVISION=1
|
2015-11-16 00:29:11 +01:00
|
|
|
TERMUX_PKG_MAINTAINER=$(echo "Iain Nicol <git at iainnicol dot com>" | sed 's/\sat\s/@/' | sed 's/\sdot\s/./')
|
2015-11-15 22:43:01 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://ftp.gnu.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_DEPENDS="libgc, ncurses"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
termux_step_pre_make () {
|
|
|
|
# zile uses help2man to build the zile.1 man page, which would require
|
|
|
|
# a host build. To avoid that just copy a pre-built man page.
|
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/zile.1 $TERMUX_PKG_BUILDDIR/doc/zile.1
|
|
|
|
$TERMUX_TOUCH -d "next hour" $TERMUX_PKG_BUILDDIR/doc/zile.1*
|
|
|
|
}
|