aboutsummaryrefslogtreecommitdiffstats
path: root/main/dialog/APKBUILD
blob: ba0126baa54682d226c708a6c707f87c02558c92 (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
39
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dialog
_realver=1.3-20160209
pkgver=${_realver/-/.}
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-$_realver.tgz"

_builddir="$srcdir"/$pkgname-$_realver
build() {
	cd "$_builddir"
	./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 "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="c60823a4b09e12f8ae79036f05885ba4  dialog-1.3-20160209.tgz"
sha256sums="0314f7f2195edc58e7567a024dc1d658c2f8ea732796d8fa4b4927df49803f87  dialog-1.3-20160209.tgz"
sha512sums="77ad7698c8acc9ec2c4a8e76d73972ed3ee8d323cdb8cb18fbe496ebe4a6c8be873e0e2ecf66bbeb7eb6c398d0ca125969cb068e89c33a17521e1e1b913b1e4a  dialog-1.3-20160209.tgz"