hstr: update to 2.3
This commit is contained in:
parent
c368dac10e
commit
6ecc81ea8a
|
@ -1,20 +1,21 @@
|
||||||
# Template file for 'hstr'
|
# Template file for 'hstr'
|
||||||
pkgname=hstr
|
pkgname=hstr
|
||||||
version=2.2
|
version=2.3
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
makedepends="readline-devel"
|
makedepends="readline-devel"
|
||||||
short_desc="Easily view, navigate, search and manage your command history"
|
short_desc="Easily view, navigate, search and manage your command history"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Neel Chotai <neel@chot.ai>"
|
||||||
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="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
|
distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
|
||||||
checksum=886531ca9d8d1a5a93a3db96e9fc64154a03f6de428c74c722b41057bceca266
|
checksum=c7e7408671757b3f4be9c5a59b4e2d56e7a7b601ace2a94eb6b2b61f20ee890b
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
grep -rli '#include <ncursesw/curses.h>' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @
|
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_curses.h
|
||||||
aclocal
|
aclocal
|
||||||
automake --force-missing --add-missing
|
automake --force-missing --add-missing
|
||||||
autoconf
|
autoconf
|
||||||
|
|
Loading…
Reference in New Issue