void-packages/srcpkgs/hstr/template

23 lines
687 B
Bash
Raw Normal View History

2015-09-05 13:45:38 +00:00
# Template file for 'hstr'
pkgname=hstr
2015-11-28 01:32:06 +00:00
version=1.19
2015-09-05 13:45:38 +00:00
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"
2015-11-24 00:28:01 +00:00
distfiles="https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz"
2015-11-28 01:32:06 +00:00
checksum=b67cb5e2515948fd0fb402b732630a51885be5dfe58cbf914c22ea444129a647
2015-09-05 13:45:38 +00:00
2015-11-24 00:28:01 +00:00
pre_build() {
2015-09-05 13:45:38 +00:00
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
}
2015-11-24 00:28:01 +00:00
post_install() {
2015-09-05 13:45:38 +00:00
vlicense LICENSE
}