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


                                                 
                   
                                     

                                                     
                                                     





                                  
                                                                          
                                     

         











                                           


                                      
                                                                                                                                                                      
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
pkgver=1.3.20191110
_realver="${pkgver%.*}-${pkgver##*.}"
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="https://invisible-mirror.net/archives/dialog/dialog-$_realver.tgz"
builddir="$srcdir/$pkgname-$_realver"

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

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

sha512sums="858a0cc095a4d52ce50bb77cc46a95ef64bcff1dc9526eb352b8d1d8884949186d1ea93af342eab8cf8a236efc9357bc5be2d1f1564a6f64536026bc1b894397  dialog-1.3-20191110.tgz"