void-packages/srcpkgs/hstr/template
2020-03-02 07:56:33 +01:00

21 lines
738 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=2.2
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="readline-devel"
short_desc="Easily view, navigate, search and manage your command history"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Apache-2.0"
homepage="https://github.com/dvorka/hstr"
changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog"
distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
checksum=886531ca9d8d1a5a93a3db96e9fc64154a03f6de428c74c722b41057bceca266
pre_configure() {
grep -rli '#include <ncursesw/curses.h>' src | xargs -i@ sed -i 's|ncursesw/curses.h|curses.h|g' @
aclocal
automake --force-missing --add-missing
autoconf
}