aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: e27d5658551109224827dd2e7b607e16792cc826 (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.20130523
_pkgver=1.2-20130523
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="f79a2fd46b918f6a2802444415ad3795  dialog-1.2-20130523.tgz"
sha256sums="c8d114b7698022bcbd6c88f3c0b2296b0e846c60c5ed6bd28f86dd72b94fd36d  dialog-1.2-20130523.tgz"
sha512sums="9388828aa452d245063b17751b800aa257edf1420a12463f6fc28cf4c2758a01ddfd9ae214662eeb7b9d6a2066fab33189d2d168d82fe497dfaf20288797bf6e  dialog-1.2-20130523.tgz"