summaryrefslogblamecommitdiff
path: root/user/dialog/APKBUILD
blob: cc5e3e668fa605147daa19ff6a5b5d6912f0c6b8 (plain) (tree)
1
2
3
4
5
6
7
8


                                                 
                     


                                                     
                                                     


























                                                                       
                                                                                                                                                                      
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
_realver=1.3-20181107
pkgver=${_realver/-/.}
pkgrel=0
pkgdesc="Script interpreter providing curses widgets"
url="https://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="69cb367bc9a1d6dcd69b74f7eae9b4318f0bfd9c0eae48144da119df10f7f81ed4c215a8882d72dfbbd9ff41c5e591c80b168b9552e014454cc80c9aa37dca55  dialog-1.3-20181107.tgz"