summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/dialog/PKGBUILD34
1 files changed, 20 insertions, 14 deletions
diff --git a/abs/core/dialog/PKGBUILD b/abs/core/dialog/PKGBUILD
index 0299f6d..f6b93ec 100644
--- a/abs/core/dialog/PKGBUILD
+++ b/abs/core/dialog/PKGBUILD
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD 1369 2008-05-06 16:13:12Z andyrtr $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $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_20080316
-_pkgver=1.1-20080316
-pkgrel=12
+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')
-groups=('base')
-depends=('ncurses>=5.6-6')
-url="http://packages.debian.org/dialog"
-source=(ftp://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_$_pkgver.orig.tar.gz)
-md5sums=('3d262cbc41e4db23251e7be924c4a28b')
+depends=('ncurses')
+source=(ftp://invisible-island.net/${pkgname}/${pkgname}-$_pkgver.tgz)
+md5sums=('519c0a0cbac28ddb992111ec2c3f82aa')
build() {
- cd $startdir/src/$pkgname-$_pkgver
- ./configure --prefix=/usr --with-ncursesw --mandir=/usr/share/man
- make || return 1
- make DESTDIR=$startdir/pkg install
+ 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
}