vp-build/srcpkgs/hstr/template

27 lines
811 B
Bash

# Template file for 'hstr'
pkgname=hstr
version=1.25
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"
#changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog"
homepage="https://github.com/dvorka/hstr"
distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz"
checksum=9d50e46d2eefc667f4d2b9cd41856be6ffb33a897ab1b036886573d61cadb27f
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
}