Browse Source

pick: Update from 2.0.2 to 3.0.1

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
335a1d4c14
  1. 10
      packages/pick/build.sh
  2. 19
      packages/pick/configure.patch

10
packages/pick/build.sh

@ -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
}

19
packages/pick/configure.patch

@ -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
Loading…
Cancel
Save