summaryrefslogtreecommitdiff
path: root/core/dialog/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/dialog/PKGBUILD')
-rw-r--r--core/dialog/PKGBUILD29
1 files changed, 17 insertions, 12 deletions
diff --git a/core/dialog/PKGBUILD b/core/dialog/PKGBUILD
index 34752d162..d27f184be 100644
--- a/core/dialog/PKGBUILD
+++ b/core/dialog/PKGBUILD
@@ -1,29 +1,34 @@
-# $Id: PKGBUILD 186478 2013-05-27 12:00:13Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# $Id: PKGBUILD 187873 2013-06-07 13:39:39Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: 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
+pkgrel=2
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')
+source=(ftp://invisible-island.net/$pkgname/$pkgname-${pkgver/_/-}.tgz)
+sha256sums=('c8d114b7698022bcbd6c88f3c0b2296b0e846c60c5ed6bd28f86dd72b94fd36d')
build() {
- cd "${srcdir}/$pkgname-${pkgver/_/-}"
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --with-ncursesw --enable-nls
+ 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
+ cd "$srcdir/$pkgname-${pkgver/_/-}"
+ make DESTDIR="$pkgdir" install-full
}
+
+# vim:set ts=2 sw=2 et: