Username: Password: Remember me
# Maintainer: Mark Haferkamp <chakralinux dot org at refola dot com>
# Contributor: Yngve Inntjore Levinsen <yngveDOTlevinsenATgmailDOTcom>
# Contributor: wizzomafizzo <wizzomafizzo@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Benjamin Andresen <benny AT klapmuetz DOT org>
# Contributor: Douglas Thrift <douglas@douglasthrift.net>
 
pkgname=rlwrap
pkgver=0.43
pkgrel=1
pkgdesc="A 'readline wrapper'"
arch=('i686' 'x86_64')
url="https://github.com/hanslub42/rlwrap"
license=('GPL')
depends=('readline')
optdepends=('python3: filters'
            'perl: filters')
source=("https://github.com/hanslub42/rlwrap/archive/v$pkgver.tar.gz")
sha512sums=('3d8ad485d83cb2c5643dc9c66a36ba8a2b8f8ea50d864b9e330310f79d8215fc653b8711f94ca31355ca8a8c8eface73e582c5989a94ad4233dc62c5a19b76e0')
 
build() {
  cd "$srcdir/$pkgname-$pkgver"
  autoreconf --install
  ./configure --prefix=/usr
  make
}
 
package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR=$pkgdir install || return 1
}