File PKGBUILD added (mode: 100644) (index 0000000..926b882) |
|
1 |
|
# Maintainer: Ricardo Band <me@xengi.de> |
|
2 |
|
pkgname=hh |
|
3 |
|
pkgver=1.2.1 |
|
4 |
|
pkgrel=1 |
|
5 |
|
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." |
|
6 |
|
arch=('any') |
|
7 |
|
url="https://github.com/dvorka/hstr" |
|
8 |
|
license=('Apache') |
|
9 |
|
makedepends=('readline' 'ncurses') |
|
10 |
|
_pkgver=$(echo "$pkgver" | sed 's/.[0-9]*$//') |
|
11 |
|
source=(https://github.com/dvorka/hstr/releases/download/$pkgver/$pkgname-$_pkgver-src.tgz) |
|
12 |
|
md5sums=('a6b7ab128fff5604374166b488c7b8b7') |
|
13 |
|
|
|
14 |
|
build() { |
|
15 |
|
cd "$srcdir/hstr" |
|
16 |
|
./configure --prefix=/usr |
|
17 |
|
make |
|
18 |
|
} |
|
19 |
|
|
|
20 |
|
package() { |
|
21 |
|
cd "$srcdir/hstr" |
|
22 |
|
make DESTDIR="$pkgdir/" install |
|
23 |
|
} |