From 39c5bf5e2116652fc1a55a1be4b0ccef1890908e Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sat, 29 Oct 2016 00:02:10 -0200 Subject: [PATCH] hstr: update to 1.2.1 --- srcpkgs/hstr/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template index de4121031cd..e183dad4ac2 100644 --- a/srcpkgs/hstr/template +++ b/srcpkgs/hstr/template @@ -1,20 +1,23 @@ # Template file for 'hstr' pkgname=hstr -version=1.19 +version=1.2.1 revision=1 -wrksrc=${pkgname} build_style=gnu-configure +hostmakedepends="automake" 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/${version}/hh-${version}-src.tgz" -checksum=b67cb5e2515948fd0fb402b732630a51885be5dfe58cbf914c22ea444129a647 +distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz" +checksum=e7da7fa6cd23fe991980c7e2a847950a747bae327116e08d2a9342e0cb129784 -pre_build() { +pre_configure() { sed -i -e "s###g" src/include/hstr_curses.h sed -i -e "s###g" src/hstr.c + aclocal + automake --force-missing --add-missing + autoconf } post_install() {