aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: c1e7208723599a59ddb1c5cf26c9eb82426ba415 (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
34
35
36
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
_realver=1.3-20170509
pkgver=${_realver/-/.}
pkgrel=1
pkgdesc="Script interpreter providing curses widgets"
url="http://invisible-island.net/dialog/dialog.html"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1-only"
depends=
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="ftp://ftp.invisible-island.net/$pkgname/$pkgname-$_realver.tgz"
builddir="$srcdir"/$pkgname-$_realver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-ncursesw
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="dd3fe2041a15dd344ea39a1ba111d3b26daca1cda91a4e82f1223385a49cdf3de15f11129366a20c5a24b16b5301f215543850a390d70d0559f98247bbd49a56  dialog-1.3-20170509.tgz"