autossh: Update from 1.4e to 1.4f
[termux-packages] / packages / zile / build.sh
old mode 100644 (file)
new mode 100755 (executable)
index e3dcef4..6d060dd
@@ -1,6 +1,15 @@
-# NOTE: Segfaults on startup. Problem with libgc?
-TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/zile/
-TERMUX_PKG_DESCRIPTION="Lightweight Emacs clone"
-TERMUX_PKG_VERSION=2.4.11
-TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/zile/
+TERMUX_PKG_DESCRIPTION="Lightweight clone of the Emacs text editor"
+TERMUX_PKG_MAINTAINER="Iain Nicol @iainnicol"
+TERMUX_PKG_VERSION=2.4.14
+TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/zile/zile-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_SHA256=7a78742795ca32480f2bab697fd5e328618d9997d6f417cf1b14e9da9af26b74
 TERMUX_PKG_DEPENDS="libgc, ncurses"
+TERMUX_PKG_BUILD_IN_SRC=yes
+
+termux_step_post_configure() {
+       # 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
+       touch -d "next hour" $TERMUX_PKG_BUILDDIR/doc/zile.1*
+}