Merge pull request #3042 from diogoleal/hstr_update
hstr: update to 1.18
This commit is contained in:
commit
1b37988eb8
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'hstr'
|
# Template file for 'hstr'
|
||||||
pkgname=hstr
|
pkgname=hstr
|
||||||
version=1.17
|
version=1.18
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=${pkgname}
|
wrksrc=${pkgname}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -9,14 +9,14 @@ short_desc="Easily view, navigate, search and manage your command history"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="Apache"
|
license="Apache"
|
||||||
homepage="https://github.com/dvorka/hstr"
|
homepage="https://github.com/dvorka/hstr"
|
||||||
distfiles="https://github.com/dvorka/hstr/releases/download/1.17/hh-1.17-src.tgz"
|
distfiles="https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz"
|
||||||
checksum=68eae9ecb022d3f492b85e1479d9b81e3b47b568b7714fd35e4e0fca50234c6e
|
checksum=4ef269f6f929d957eaac43115bbbcbb6c69dd6213b3f5c9976f5a7a8c7dd19cb
|
||||||
|
|
||||||
pre_build(){
|
pre_build() {
|
||||||
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
|
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/include/hstr_curses.h
|
||||||
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/hstr.c
|
sed -i -e "s#<ncursesw/curses.h>#<curses.h>#g" src/hstr.c
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install(){
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue