summaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: 94a77238b01168b2b3a5ba77f0d2651821416411 (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.20130902
_pkgver=1.2-20130902
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="7ba10c69b51b36cbf9ca4aa244b15c71  dialog-1.2-20130902.tgz"
sha256sums="92301c555e9b3d6be29b51f9a0fce4b482556f7b6b89e7de1d5030e523ef0467  dialog-1.2-20130902.tgz"
sha512sums="08fe25e367f4c69403b21c258a3b38c8fb04caf4a5b5e469100a67378c6bfb62dc43378bfb94fc5e058b408259dbd69b04588072e5de070caf3ea05cc41cecf1  dialog-1.2-20130902.tgz"