hstr: update to 1.27.

This commit is contained in:
maxice8 2018-08-13 15:14:32 -03:00
parent 667fdf4ea7
commit 64f732e59a
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B

View File

@ -1,6 +1,6 @@
# Template file for 'hstr'
pkgname=hstr
version=1.25
version=1.27
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
@ -8,14 +8,13 @@ makedepends="readline-devel"
short_desc="Easily view, navigate, search and manage your command history"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Apache-2.0"
#changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog"
homepage="https://github.com/dvorka/hstr"
changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog"
distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
checksum=9d50e46d2eefc667f4d2b9cd41856be6ffb33a897ab1b036886573d61cadb27f
checksum=b13b517f91b80d4e75d162b2045ca2563d852051f7f189270ed6ceecaf735dfd
pre_configure() {
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/hstr.c
grep -rli '#include <ncursesw/curses.h>' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @
aclocal
automake --force-missing --add-missing
autoconf