summaryrefslogtreecommitdiff
path: root/core/dialog/PKGBUILD
blob: 34752d162a5f3184f8d0d7cba8bca51b4dddd9c2 (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
# $Id: PKGBUILD 186478 2013-05-27 12:00:13Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>

pkgname=dialog
pkgver=1.2_20130523
pkgrel=1
pkgdesc="A tool to display dialog boxes from shell scripts"
arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/dialog/"
license=('LGPL2.1')
depends=('ncurses')
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver/_/-}.tgz)
sha1sums=('54768b8443af3de2e6cd16073ec666f19d4ded7a')

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

  rm "${pkgdir}"/usr/lib/libdialog.a
}