void-packages/srcpkgs/hstr/template
2019-01-25 06:41:52 -02:00

22 lines
769 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=2.0.0
revision=2
wrksrc="hstr"
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="${homepage}/releases/download/${version%.*}/hstr-${version}-tarball.tgz"
checksum=9844587d4e91daa8a78eeeac13e995995fff36616fda5f374da7301c9bce15e4
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
}