pick: update to 3.0.1.

This commit is contained in:
Daniel Eyßer 2019-07-12 16:18:44 +02:00 committed by Helmut Pozimski
parent 725614f7f1
commit ee20ea2457
2 changed files with 8 additions and 19 deletions

View file

@ -1,13 +0,0 @@
--- pick.c.orig 2017-09-21 16:36:29.000000000 +0000
+++ pick.c 2017-09-21 16:36:43.917200522 +0000
@@ -28,6 +28,10 @@
#include "compat.h"
+#ifndef CCEQ
+ #define CCEQ(val, c) ((c) == (val) && (val) != _POSIX_VDISABLE)
+#endif
+
#define tty_putp(capability, fatal) do { \
if (tputs((capability), 1, tty_putc) == ERR && (fatal)) \
errx(1, #capability ": unknown terminfo capability"); \

View file

@ -1,19 +1,21 @@
# Template file for 'pick'
pkgname=pick
version=2.0.2
version=3.0.1
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
build_style=configure
make_check_target=test
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="A fuzzy search tool for the command-line"
checkdepends="ncurses-base"
short_desc="Fuzzy search tool for the command-line"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="https://github.com/calleerlandsson/pick/"
distfiles="https://github.com/calleerlandsson/pick/archive/v${version}.tar.gz"
checksum=2a2e30eb7bd644c128f755ea17433dd0072e9c7c96da3d03de29c5922edd15f0
checksum=32afb40581af84b884fb0786f7c8a9169cecbc2122a00b4835f8610a0e94c00d
pre_configure() {
./autogen.sh
export PREFIX=/usr MANDIR=/usr/share/man
}
post_install() {