diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template index ff18525fae..25083efb2f 100644 --- a/srcpkgs/hstr/template +++ b/srcpkgs/hstr/template @@ -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 " 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###g" src/include/hstr_curses.h - sed -i -e "s###g" src/hstr.c + grep -rli '#include ' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @ aclocal automake --force-missing --add-missing autoconf