31 lines
870 B
Bash
31 lines
870 B
Bash
# Contributor: Rafael Kitover <rkitover@gmail.com>
|
|
# Anyone is welcome to update this package, for new versions or patches or w/e.
|
|
|
|
pkgname=('rlwrap')
|
|
pkgver=0.46.1
|
|
pkgrel=1
|
|
pkgdesc='utility that uses the GNU readline library to allow the editing of keyboard input for any command'
|
|
arch=('i686' 'x86_64')
|
|
groups=('utilities')
|
|
license=('GPL')
|
|
url='https://github.com/hanslub42/rlwrap'
|
|
msys2_references=(
|
|
"anitya: 4199"
|
|
)
|
|
depends=('libreadline')
|
|
makedepends=('gcc' 'libreadline-devel' 'autotools')
|
|
install=rlwrap.install
|
|
source=("https://github.com/hanslub42/rlwrap/releases/download/${pkgver}/rlwrap-${pkgver}.tar.gz")
|
|
sha256sums=('2711986a1248f6ac59e2aecf5586205835970040d300a42b4bf8014397e73e37')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make install DESTDIR="${pkgdir}"
|
|
}
|