summaryrefslogblamecommitdiff
path: root/user/dialog/APKBUILD
blob: 9b10cf914c134832a18d03213aabb1af63a10e62 (plain) (tree)
1
2
3
4


                                                 
                     






























                                                                       
                                                                                                                                                                      
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
_realver=1.3-20181022
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="5d7891086ab6d2f4a815538513b09754a56368bbb0ec3bd107346fd2ed6ae10fa858173447fa609cce28a91e234ed8067d9439efeb973593fff2df1e811a8925  dialog-1.3-20181022.tgz"