PKGBUILD 713 Bytes
Newer Older
Jan Mette's avatar
Jan Mette committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# $Id: PKGBUILD 66443 2010-01-31 09:13:49Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=dialog
pkgver=1.1_20100119
_pkgver=1.1-20100119
pkgrel=1
pkgdesc="A tool to display dialog boxes from shell scripts"
arch=('i686' 'x86_64')
url="http://invisible-island.net/dialog/"
license=('GPL')
groups=('base')
depends=('ncurses>=5.6-8')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-$_pkgver.tgz)
md5sums=('ada629276646b462aaab1e734f626eb6')

build() {
  cd ${srcdir}/$pkgname-$_pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man \
              --with-ncursesw --enable-nls
  make || return 1
  make DESTDIR=${pkgdir} install
}