summaryrefslogtreecommitdiff
path: root/testing/dialog/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dialog/PKGBUILD')
-rw-r--r--testing/dialog/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/dialog/PKGBUILD b/testing/dialog/PKGBUILD
new file mode 100644
index 000000000..0bcad68b9
--- /dev/null
+++ b/testing/dialog/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 151732 2012-03-01 19:24:39Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=dialog
+pkgver=1.1_20120215
+pkgrel=1
+pkgdesc="A tool to display dialog boxes from shell scripts"
+arch=('i686' 'x86_64')
+url="http://invisible-island.net/dialog/"
+license=('LGPL2.1')
+depends=('ncurses')
+source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver/_/-}.tgz)
+sha1sums=('0d8a07e064c6d4f9cc7d9cb21c4609dc4a19537e')
+
+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
+}