diff --git a/packages/less/build.sh b/packages/less/build.sh index 67d34a058..5cf5facd7 100644 --- a/packages/less/build.sh +++ b/packages/less/build.sh @@ -1,9 +1,10 @@ -TERMUX_PKG_HOMEPAGE=http://www.greenwoodsoftware.com/less/ +TERMUX_PKG_HOMEPAGE=https://www.greenwoodsoftware.com/less/ TERMUX_PKG_DESCRIPTION="Terminal pager program used to view the contents of a text file one screen at a time" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION=563 -TERMUX_PKG_SRCURL=http://www.greenwoodsoftware.com/less/less-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=ce5b6d2b9fc4442d7a07c93ab128d2dff2ce09a1d4f2d055b95cf28dd0dc9a9a -TERMUX_PKG_DEPENDS="ncurses" +TERMUX_PKG_VERSION=590 +TERMUX_PKG_SRCURL=https://www.greenwoodsoftware.com/less/less-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_SHA256=6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10 +TERMUX_PKG_DEPENDS="ncurses, pcre2" TERMUX_PKG_ESSENTIAL=true +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-regex=pcre2" \ No newline at end of file diff --git a/packages/less/less_multilib.patch b/packages/less/less_multilib.patch deleted file mode 100644 index 54f710de2..000000000 --- a/packages/less/less_multilib.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: SOURCES/less-multilib.patch -diff -u /dev/null SOURCES/less-multilib.patch:1.1 ---- /dev/null Fri Mar 2 18:37:48 2007 -+++ less-multilib.patch Fri Mar 2 18:37:43 2007 -@@ -0,0 +1,19 @@ -+--- less-394/Makefile.in.orig 2007-03-02 17:40:55.000000000 +0100 -++++ less-394/Makefile.in 2007-03-02 17:41:38.000000000 +0100 -+@@ -51,13 +51,13 @@ -+ all: less lesskey lessecho -+ -+ less: ${OBJ} -+- ${CC} ${LDFLAGS} -o $@ ${OBJ} ${LIBS} -++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJ} ${LIBS} -+ -+ lesskey: lesskey.${O} version.${O} -+- ${CC} ${LDFLAGS} -o $@ lesskey.${O} version.${O} -++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lesskey.${O} version.${O} -+ -+ lessecho: lessecho.${O} version.${O} -+- ${CC} ${LDFLAGS} -o $@ lessecho.${O} version.${O} -++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ lessecho.${O} version.${O} -+ -+ ${OBJ}: ${srcdir}/less.h ${srcdir}/funcs.h defines.h -+ -