From d4e90acea67780168f54ea637929e5c6e5e12807 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Wed, 26 Feb 2014 03:01:07 +0100 Subject: [PATCH] PKGBUILD for Archlinux Made a PKGBUILD for the Archlinux AUR. (https://aur.archlinux.org/packages/hh/) --- PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..926b882 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Ricardo Band +pkgname=hh +pkgver=1.2.1 +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') +_pkgver=$(echo "$pkgver" | sed 's/.[0-9]*$//') +source=(https://github.com/dvorka/hstr/releases/download/$pkgver/$pkgname-$_pkgver-src.tgz) +md5sums=('a6b7ab128fff5604374166b488c7b8b7') + +build() { + cd "$srcdir/hstr" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/hstr" + make DESTDIR="$pkgdir/" install +}