diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template index a653cbbd23d..ee1bc8b0ce9 100644 --- a/srcpkgs/hstr/template +++ b/srcpkgs/hstr/template @@ -1,8 +1,7 @@ # Template file for 'hstr' pkgname=hstr -version=2.0.0 -revision=2 -wrksrc="hstr" +version=2.2 +revision=1 build_style=gnu-configure hostmakedepends="automake pkg-config" makedepends="readline-devel" @@ -11,8 +10,8 @@ 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 +distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz" +checksum=886531ca9d8d1a5a93a3db96e9fc64154a03f6de428c74c722b41057bceca266 pre_configure() { grep -rli '#include ' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @