aboutsummaryrefslogtreecommitdiffstats
path: root/testing/editline/APKBUILD
blob: 9ecc7a417b87b31a68af4f1b1f800a78376a40ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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"