aboutsummaryrefslogtreecommitdiffstats
path: root/testing/editline/APKBUILD
blob: 77989b3f72634761cc2507067fc85b8d373bfb07 (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:
pkgname=editline
pkgver=1.17.0
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="e8a519d5380a84913e1438ac0cd52400078457be5dcfa4eadc7112d7c2c4ff6601b8e3da4eef55296b42c6e9b5ed5fb269698dd62c4542eef824b6dd262ddd5c  editline-1.17.0.tar.xz"