void-packages/srcpkgs/hstr/template

23 lines
761 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=2.3
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="Neel Chotai <neel@chot.ai>"
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=c7e7408671757b3f4be9c5a59b4e2d56e7a7b601ace2a94eb6b2b61f20ee890b
pre_configure() {
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr.h
vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr_curses.h
aclocal
automake --force-missing --add-missing
autoconf
}