summaryrefslogtreecommitdiff
path: root/user/dialog/APKBUILD
blob: 173a85a9d8346873b7f3e405393f52c3b125c856 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dialog
pkgver=1.3.20190806
_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="2fdf74a6ecc1b86523299f5ec954d125bc913bddf985f152b40f3a25ed87642dd4410fea141f2f2f1b08c75e767db1a3df1d27b230e4d21b33bd80136d23a92b  dialog-1.3-20190806.tgz"