From 4bc276c90ebb0a0cd5c3d17c1ea2d51508d46792 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 12 Dec 2014 20:06:57 +0000
Subject: expect: update 5.45-4

---
 abs/core/expect/PKGBUILD | 26 +++++---------------------
 1 file changed, 5 insertions(+), 21 deletions(-)

diff --git a/abs/core/expect/PKGBUILD b/abs/core/expect/PKGBUILD
index 140b4a4..5e9b909 100644
--- a/abs/core/expect/PKGBUILD
+++ b/abs/core/expect/PKGBUILD
@@ -1,32 +1,20 @@
-# $Id: PKGBUILD 151250 2012-02-25 10:00:44Z allan $
-# Maintainer: kevin <kevin@archlinux.org>
+# $Id$
+# Maintainer: Allan McRae <allan@archlinux.org>
 
 pkgname=expect
 pkgver=5.45
-pkgrel=2
+pkgrel=4
 pkgdesc="A tool for automating interactive applications"
 arch=('i686' 'x86_64')
 url="http://www.nist.gov/el/msid/expect.cfm"
 license=('custom')
-depends=('tcl>=8.5.3')
-conflicts=('expectk')
-install=expect.install
-changelog=ChangeLog
+depends=('tcl')
 source=(http://downloads.sourceforge.net/project/expect/Expect/${pkgver}/expect${pkgver}.tar.gz)
-# CVS checkout on gerolde.
-#source=(ftp://ftp.archlinux.org/other/expect/expect-${pkgver}.tar.bz2)
-# old nist source=(http://expect.nist.gov/src/expect-${pkgver}.tar.bz2)
 md5sums=('44e1a4f4c877e9ddc5a542dfa7ecc92b')
 
 build() {
   cd ${srcdir}/expect${pkgver}
-
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --mandir=/usr/share/man --with-tcl=/usr/lib \
-      --with-tclinclude=/usr/include
-
-  # Keep $startdir/pkg out of library search paths.
-  sed -e 's/-rpath,${LIB_RUNTIME_DIR}:/-rpath,/' -i Makefile
+  ./configure --prefix=/usr --mandir=/usr/share/man 
   make
 }
 
@@ -34,9 +22,5 @@ package() {
   cd ${srcdir}/expect${pkgver}
   make DESTDIR=${pkgdir} install
 
-  # license.
   install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README
-
-  (cd ${pkgdir}/usr/lib;
-    ln -s expect${pkgver}/libexpect${pkgver}.so libexpect.so)
 }
-- 
cgit v0.12

