aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: 6fffb122fece0c0bd4447b6d8131b2fe613ec602 (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.20130928
_pkgver=1.2-20130928
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="2cf55cd9d4603ffdb4b24cd6843d740c  dialog-1.2-20130928.tgz"
sha256sums="6fcf8daa50335e4d08da9f4f5ea5e1025efe84c3a719a56e871eb83ed0fd2b4c  dialog-1.2-20130928.tgz"
sha512sums="c3666c6b1d63513b405ef7bea98a5fd3ba947e7d281bd260b3cf38aff1be93a2c29a350d753f2339478937530ad1b134b323c557f8803d7761941c3116893c90  dialog-1.2-20130928.tgz"