From 7bd962b447e0784fee8094e4b0a9fa31430366a1 Mon Sep 17 00:00:00 2001 From: fastgar Date: Thu, 21 May 2015 11:51:51 +0200 Subject: [PATCH] Update PKGBUILD to latest version Updatet version, md5sum. Add sed commands in build to incorporate ncurses structure under arch. --- PKGBUILD | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 926b882..75052d1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,18 +1,21 @@ -# Maintainer: Ricardo Band +# Maintainer: Christian Wieden pkgname=hh -pkgver=1.2.1 +pkgver=1.17 pkgrel=1 pkgdesc="A command line utility that brings improved BASH command completion from the history. It aims to make completion easier and more efficient than Ctrl-r." arch=('any') url="https://github.com/dvorka/hstr" license=('Apache') -makedepends=('readline' 'ncurses') +makedepends=('git' 'readline' 'ncurses') _pkgver=$(echo "$pkgver" | sed 's/.[0-9]*$//') -source=(https://github.com/dvorka/hstr/releases/download/$pkgver/$pkgname-$_pkgver-src.tgz) -md5sums=('a6b7ab128fff5604374166b488c7b8b7') +source=(https://github.com/dvorka/hstr/releases/download/$pkgver/$pkgname-$pkgver-src.tgz) +md5sums=('46336873fb23e7b59b54655f05b221d5') build() { cd "$srcdir/hstr" + sed -i -e "s###g" src/include/hstr_curses.h + sed -i -e "s###g" src/hstr.c ./configure --prefix=/usr make }