# Template file for 'hstr' pkgname=hstr version=2.0.0 revision=1 wrksrc="hstr" build_style=gnu-configure hostmakedepends="automake pkg-config" makedepends="readline-devel" short_desc="Easily view, navigate, search and manage your command history" maintainer="Diogo Leal " license="Apache-2.0" homepage="https://github.com/dvorka/hstr" changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog" distfiles="${homepage}/releases/download/${version%.*}/hstr-${version}-tarball.tgz" checksum=9844587d4e91daa8a78eeeac13e995995fff36616fda5f374da7301c9bce15e4 pre_configure() { grep -rli '#include ' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @ aclocal automake --force-missing --add-missing autoconf }