diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template new file mode 100644 index 00000000000..aa3c17b4a05 --- /dev/null +++ b/srcpkgs/hstr/template @@ -0,0 +1,22 @@ +# Template file for 'hstr' +pkgname=hstr +version=1.17 +revision=1 +wrksrc=${pkgname} +build_style=gnu-configure +makedepends="ncurses-devel readline-devel" +short_desc="Easily view, navigate, search and manage your command history" +maintainer="Diogo Leal " +license="Apache" +homepage="https://github.com/dvorka/hstr" +distfiles="https://github.com/dvorka/hstr/releases/download/1.17/hh-1.17-src.tgz" +checksum=68eae9ecb022d3f492b85e1479d9b81e3b47b568b7714fd35e4e0fca50234c6e + +pre_build(){ + sed -i -e "s###g" src/include/hstr_curses.h + sed -i -e "s###g" src/hstr.c +} + +post_install(){ + vlicense LICENSE +}