aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: 3dc1be878ce6a81b7f94cf7660a7d23fea3234d1 (plain)
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
35
36
37
38
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
pkgver=1.2.20131001
_pkgver=1.2-20131001
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="e0932673cd94e4c6e2470d78f0c22376  dialog-1.2-20131001.tgz"
sha256sums="b22215d56dfbfa7f025092759e8f144b17321e14829b2a273f68d745a1f0dca5  dialog-1.2-20131001.tgz"
sha512sums="87d96b78577cef4a839b0f3ce71c5e8466a696bdf812b168019bd0283cb4b26691852d475a22db004612b5e080d18e94b2a75bf33b39eefb159f8e9df57662f9  dialog-1.2-20131001.tgz"