Leo 147c48a7af testing/editline: new aport
https://troglobit.com/projects/editline/
A readline() replacement for UNIX without termcap (ncurses)
2019-11-02 20:02:10 -03:00

34 lines
840 B
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=editline
pkgver=1.16.1
pkgrel=0
pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
url="https://troglobit.com/projects/editline/"
arch="all"
license="Spencer-94"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/troglobit/editline/releases/download/$pkgver/editline-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="4c4e96c9218ab29c559dc8f0c2ca4015c149c70af1696cd43e7ddb38aba7eb68452a22718932bf40a83d3377ad73d26734109db13ecd4470170ef6fbcab6a9fc editline-1.16.1.tar.xz"