diff --git a/packages/gtypist/build.sh b/packages/gtypist/build.sh index c09fc028fa..00adfc4a24 100644 --- a/packages/gtypist/build.sh +++ b/packages/gtypist/build.sh @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gtypist/ TERMUX_PKG_DESCRIPTION="Universal typing tutor" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=2.9.5 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_VERSION="2.10" TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gtypist/gtypist-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977 +TERMUX_PKG_SHA256=f1e79cd95742c84c6d035f6d8f393a2a1be0e00b1c016a22462df16d6667562c +TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_DEPENDS="libandroid-support, libiconv, ncurses" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_header_ncursesw_ncurses_h=yes --enable-nls=no ac_cv_header_libintl_h=no" TERMUX_PKG_RM_AFTER_INSTALL="share/emacs/site-lisp bin/typefortune share/man/man1/typefortune.1" diff --git a/packages/gtypist/dont_build_manpage.patch b/packages/gtypist/dont_build_manpage.patch index b173bf42cb..15a18a2f3e 100644 --- a/packages/gtypist/dont_build_manpage.patch +++ b/packages/gtypist/dont_build_manpage.patch @@ -1,11 +1,10 @@ -diff -u -r ../gtypist-2.9.4/src/Makefile.in ./src/Makefile.in ---- ../gtypist-2.9.4/src/Makefile.in 2014-02-02 14:06:58.000000000 +0100 -+++ ./src/Makefile.in 2014-03-01 01:38:51.000000000 +0100 -@@ -324,7 +324,6 @@ +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -367,7 +367,6 @@ # GEN_MAN is a shell command that generates the man page -man_MANS = gtypist.1 - MAINTAINERCLEANFILES = gtypist.1 + CLEANFILES = gtypist.1 all: all-am diff --git a/packages/gtypist/src-cursmenu.c.patch b/packages/gtypist/src-cursmenu.c.patch deleted file mode 100644 index 991395d1cd..0000000000 --- a/packages/gtypist/src-cursmenu.c.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r ../gtypist-2.9.5/src/cursmenu.c ./src/cursmenu.c ---- ../gtypist-2.9.5/src/cursmenu.c 2013-08-18 14:36:14.000000000 +0000 -+++ ./src/cursmenu.c 2017-07-07 08:35:39.553927999 +0000 -@@ -20,6 +20,7 @@ - #include "config.h" - #include "cursmenu.h" - #include "script.h" -+#include "utf8.h" - - #ifdef HAVE_PDCURSES - #include diff --git a/packages/gtypist/src-utf8.c.patch b/packages/gtypist/src-utf8.c.patch deleted file mode 100644 index 6be32160c4..0000000000 --- a/packages/gtypist/src-utf8.c.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r ../gtypist-2.9.5/src/utf8.c ./src/utf8.c ---- ../gtypist-2.9.5/src/utf8.c 2013-08-18 14:36:14.000000000 +0000 -+++ ./src/utf8.c 2017-07-07 08:32:20.764160765 +0000 -@@ -19,6 +19,7 @@ - - #include "config.h" - #include "utf8.h" -+#include "error.h" - - #ifdef HAVE_PDCURSES - #include