26 lines
745 B
Bash
26 lines
745 B
Bash
# Template file for 'hstr'
|
|
pkgname=hstr
|
|
version=1.23
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake pkg-config"
|
|
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/archive/${version}.tar.gz"
|
|
checksum=f435b4fce473e966fe52d3c27ca9074df0925a236b01517ece022607b889af33
|
|
|
|
pre_configure() {
|
|
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
|
|
aclocal
|
|
automake --force-missing --add-missing
|
|
autoconf
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|