summaryrefslogtreecommitdiffstats
path: root/abs/core/expect/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:17:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:17:00 (GMT)
commitda49dfdd0374c5a0fcac8fa1afff909e0d3dd4e3 (patch)
tree6cf6b094477c46bfa5a56290108dde3c3a1be832 /abs/core/expect/PKGBUILD
parent0edb7bc8adc5f848f60f506a3adfd1d17b92450f (diff)
downloadlinhes_pkgbuild-da49dfdd0374c5a0fcac8fa1afff909e0d3dd4e3.zip
linhes_pkgbuild-da49dfdd0374c5a0fcac8fa1afff909e0d3dd4e3.tar.gz
linhes_pkgbuild-da49dfdd0374c5a0fcac8fa1afff909e0d3dd4e3.tar.bz2
expect 5.45
Diffstat (limited to 'abs/core/expect/PKGBUILD')
-rw-r--r--abs/core/expect/PKGBUILD46
1 files changed, 18 insertions, 28 deletions
diff --git a/abs/core/expect/PKGBUILD b/abs/core/expect/PKGBUILD
index d219fbc..140b4a4 100644
--- a/abs/core/expect/PKGBUILD
+++ b/abs/core/expect/PKGBUILD
@@ -1,52 +1,42 @@
-# $Id: PKGBUILD 73840 2010-03-28 22:17:41Z kevin $
+# $Id: PKGBUILD 151250 2012-02-25 10:00:44Z allan $
# Maintainer: kevin <kevin@archlinux.org>
pkgname=expect
-pkgver=5.44.1.15
-pkgrel=1
+pkgver=5.45
+pkgrel=2
pkgdesc="A tool for automating interactive applications"
-arch=(i686 x86_64)
-url="http://expect.nist.gov/"
+arch=('i686' 'x86_64')
+url="http://www.nist.gov/el/msid/expect.cfm"
+license=('custom')
depends=('tcl>=8.5.3')
-makedepends=('tk>=8.5.3')
-source=(http://downloads.sourceforge.net/project/expect/Expect/${pkgver}/expect-${pkgver}.tar.bz2)
+conflicts=('expectk')
+install=expect.install
+changelog=ChangeLog
+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)
-license=('custom')
-md5sums=('9307bbf67e19125036ce34544a78dadf')
+md5sums=('44e1a4f4c877e9ddc5a542dfa7ecc92b')
build() {
- # stuff to remove.
- BIN="expectk multixterm tknewsbiff tkpasswd xkibitz xpstat"
- MAN="multixterm tknewsbiff xkibitz"
-
- cd ${srcdir}/expect-${pkgver}
+ cd ${srcdir}/expect${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--mandir=/usr/share/man --with-tcl=/usr/lib \
- --with-tclinclude=/usr/include --with-tk=/usr/lib \
- --with-tkinclude=/usr/include \
+ --with-tclinclude=/usr/include
# Keep $startdir/pkg out of library search paths.
sed -e 's/-rpath,${LIB_RUNTIME_DIR}:/-rpath,/' -i Makefile
- make || return 1
+ make
}
+
package() {
- cd ${srcdir}/expect-${pkgver}
- make DESTDIR=${pkgdir} install || return 1
+ 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)
-
- # Remove X related stuff.
- for i in ${BIN}; do
- rm -f ${pkgdir}/usr/bin/${i}
- done
- for i in ${MAN}; do
- rm -f ${pkgdir}/usr/share/man/man1/${i}.1
- done
+ ln -s expect${pkgver}/libexpect${pkgver}.so libexpect.so)
}