hstr: update to 2.2

This commit is contained in:
Neel 2020-03-02 00:48:04 +00:00 committed by Juan RP
parent 7e9228bdf5
commit 15c58ec2ce

View file

@ -1,8 +1,7 @@
# Template file for 'hstr' # Template file for 'hstr'
pkgname=hstr pkgname=hstr
version=2.0.0 version=2.2
revision=2 revision=1
wrksrc="hstr"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake pkg-config" hostmakedepends="automake pkg-config"
makedepends="readline-devel" makedepends="readline-devel"
@ -11,8 +10,8 @@ maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://github.com/dvorka/hstr" homepage="https://github.com/dvorka/hstr"
changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog" changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog"
distfiles="${homepage}/releases/download/${version%.*}/hstr-${version}-tarball.tgz" distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
checksum=9844587d4e91daa8a78eeeac13e995995fff36616fda5f374da7301c9bce15e4 checksum=886531ca9d8d1a5a93a3db96e9fc64154a03f6de428c74c722b41057bceca266
pre_configure() { pre_configure() {
grep -rli '#include <ncursesw/curses.h>' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @ grep -rli '#include <ncursesw/curses.h>' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @