# Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=dialog pkgver=1.2.20150528 _pkgver=1.2-20150528 pkgrel=0 pkgdesc="A script-interpreter which provides a set of curses" url="http://invisible-island.net/dialog/dialog.html" arch="all" license="GPL" depends= makedepends="ncurses-dev" install= subpackages="$pkgname-doc" source="ftp://invisible-island.net/$pkgname/$pkgname-$_pkgver.tgz" build() { cd "$srcdir/$pkgname-$_pkgver" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-ncursesw \ || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$_pkgver" make DESTDIR="$pkgdir" install } md5sums="593615fb448e001e5b81420473a7354b dialog-1.2-20150528.tgz" sha256sums="a8cd7a66bdb41e53a3145cbb0eb370c5ce7300fe0e9ad6d3e8d3b9e16ff16418 dialog-1.2-20150528.tgz" sha512sums="fd044715ca83ea21d42daa979f7b7f91634ec28658da550b17e0b804eeb2393b4ff75aef967c994f276f1f341b428e13fba2258730ef1fbfb1d5e1675c68d80d dialog-1.2-20150528.tgz"