hstr: update to 2.5

This commit is contained in:
Neel 2021-12-19 21:54:53 +00:00 committed by Echo
parent 8c1f637c70
commit 225b020d6c

View file

@ -1,6 +1,6 @@
# Template file for 'hstr' # Template file for 'hstr'
pkgname=hstr pkgname=hstr
version=2.3 version=2.5
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake pkg-config" hostmakedepends="automake pkg-config"
@ -11,12 +11,9 @@ 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="https://github.com/dvorka/hstr/archive/${version}.tar.gz" distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
checksum=c7e7408671757b3f4be9c5a59b4e2d56e7a7b601ace2a94eb6b2b61f20ee890b checksum=7f5933fc07d55d09d5f7f9a6fbfdfc556d8a7d8575c3890ac1e672adabd2bec4
pre_configure() { pre_configure() {
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr.h vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr.h src/include/hstr_curses.h
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr_curses.h autoreconf -fi
aclocal
automake --force-missing --add-missing
autoconf
} }