PKGBUILDs/core/dialog/PKGBUILD
2009-10-09 21:17:35 -05:00

23 lines
684 B
Bash

# $Id: PKGBUILD 41639 2009-06-06 06:27:06Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=dialog
pkgver=1.1_20080819
_pkgver=1.1-20080819
pkgrel=2
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=('3caebd641a9f337b980becb4444336c5')
build() {
cd ${srcdir}/$pkgname-$_pkgver
./configure --prefix=/usr --with-ncursesw --mandir=/usr/share/man
make || return 1
make DESTDIR=${pkgdir} install
}