pick: Update from 2.0.2 to 3.0.1

This commit is contained in:
Fredrik Fornwall 2019-05-08 01:41:26 +02:00
parent f7c75ad342
commit 69a2cbc319
2 changed files with 26 additions and 3 deletions

View File

@ -1,8 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/calleerlandsson/pick
TERMUX_PKG_DESCRIPTION="Utility to choose one option from a set of choices with fuzzy search functionality"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=2.0.2
TERMUX_PKG_SHA256=f2b43aaa540ad3ff05a256a531c2f47d3d95145b82c1d1b0d62dfb40d793d385
TERMUX_PKG_VERSION=3.0.1
TERMUX_PKG_SHA256=668c863751f94ad90e295cf861a80b4d94975e06645f401d7f82525e607c0266
TERMUX_PKG_SRCURL=https://github.com/calleerlandsson/pick/releases/download/v${TERMUX_PKG_VERSION}/pick-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_search_setupterm=-lncurses"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
export MANDIR=$TERMUX_PREFIX/share/man
}

View File

@ -0,0 +1,19 @@
diff -u -r ../pick-3.0.1/configure ./configure
--- ../pick-3.0.1/configure 2019-03-10 08:43:32.000000000 +0000
+++ ./configure 2019-05-07 23:32:41.496767302 +0000
@@ -158,15 +158,8 @@
# Enable tracing, will end up in config.log.
set -x
-if (LDFLAGS=-lcurses check_curses); then
- HAVE_CURSES=1
- LDFLAGS="${LDFLAGS} -lcurses"
-elif (LDFLAGS=-lncursesw check_curses); then
HAVE_NCURSESW=1
LDFLAGS="${LDFLAGS} -lncursesw"
-else
- fatal "curses library not found"
-fi
check_dead __dead && HAVE_DEAD=1
check_dead __dead2 && HAVE_DEAD2=1