23 lines
687 B
Bash
23 lines
687 B
Bash
# Template file for 'hstr'
|
|
pkgname=hstr
|
|
version=1.18
|
|
revision=1
|
|
wrksrc=${pkgname}
|
|
build_style=gnu-configure
|
|
makedepends="ncurses-devel readline-devel"
|
|
short_desc="Easily view, navigate, search and manage your command history"
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
license="Apache"
|
|
homepage="https://github.com/dvorka/hstr"
|
|
distfiles="https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz"
|
|
checksum=4ef269f6f929d957eaac43115bbbcbb6c69dd6213b3f5c9976f5a7a8c7dd19cb
|
|
|
|
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/hstr.c
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|