# Maintainer: Jesus E. pkgname=rlwrap pkgver=0.46 pkgrel=1 pkgdesc="Adds readline-style editing and history to programs." arch=('i686' 'x86_64') url='https://github.com/hanslub42/rlwrap' license=('GPL-2') depends=('perl') source=("$pkgname-$pkgver.tar.gz::https://github.com/hanslub42/rlwrap/archive/v$pkgver.tar.gz") sha512sums=('407cbfae8aae6042726572e6950c8e3439ee6eaa7a909fd3a7001d3e8725461c811f670b98f11e89a932624a82ab62767867355c8161e30b852e995398d72e5c') prepare() { cd "$srcdir/$pkgname-$pkgver" autoreconf -vi } build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" }