summaryrefslogtreecommitdiffstats
path: root/abs/core/dialog/PKGBUILD
blob: f6b93ec2da16be1a131eee8c875ca3677959d48d (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
# $Id: PKGBUILD 94294 2010-10-06 14:23:10Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=dialog
pkgver=1.1_20100428
_pkgver=1.1-20100428
pkgrel=2
pkgdesc="A tool to display dialog boxes from shell scripts"
arch=('i686' 'x86_64')
url="http://invisible-island.net/dialog/"
license=('GPL')
depends=('ncurses')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-$_pkgver.tgz)
md5sums=('519c0a0cbac28ddb992111ec2c3f82aa')

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

package() {
  cd ${srcdir}/$pkgname-$_pkgver
  make DESTDIR=${pkgdir} install install-lib
}