void-packages/srcpkgs/hstr/template
2016-10-29 00:02:10 -02:00

25 lines
735 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="automake"
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=e7da7fa6cd23fe991980c7e2a847950a747bae327116e08d2a9342e0cb129784
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
}