summaryrefslogblamecommitdiff
path: root/user/dialog/APKBUILD
blob: ddd2e3124383aacf140ee30daed21a9b5b41b904 (plain) (tree)



































                                                                                                                                                                      
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
_realver=1.3-20180621
pkgver=${_realver/-/.}
pkgrel=0
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="1c6d794af50a12294e32b99fd9d3eb9451ac4a2f21c5567848b59c7a316b3058463c41fb8f9eb0bce68edbbe463234a6ec893f7a013ceb953eb5da0effe0d274  dialog-1.3-20180621.tgz"