[arch-commits] Commit in expect/repos (extra-i686 extra-i686/PKGBUILD)

Kevin Piche kevin at archlinux.org
Tue Nov 4 05:03:52 UTC 2008


    Date: Tuesday, November 4, 2008 @ 00:03:51
  Author: kevin
Revision: 18323

Merged revisions 356,2310,18319 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/expect/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r2310 | paul | 2008-05-31 11:15:19 -0400 (Sat, 31 May 2008) | 2 lines
  
  Added more licenses.
........
  r18319 | kevin | 2008-11-03 23:57:33 -0500 (Mon, 03 Nov 2008) | 3 lines
  
  upgpkg: expect 5.44.1.10-1
      Fixed FS#9448: expect and expectk file conflicts.
  Fixed FS#11839: libexpect5.44.1.4.so missing
........

Modified:
  expect/repos/extra-i686/	(properties)
  expect/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 20 deletions(-)


Property changes on: expect/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /expect/trunk:1
   + /expect/trunk:1-18319

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-11-04 05:03:18 UTC (rev 18322)
+++ extra-i686/PKGBUILD	2008-11-04 05:03:51 UTC (rev 18323)
@@ -1,35 +1,46 @@
 # $Id$
-# Maintainer: Kevin Piche <kevin at archlinux.org>
+# Maintainer: kevin <kevin at archlinux.org>
 
 pkgname=expect
-pkgver=5.44.1.4
+pkgver=5.44.1.10
 pkgrel=1
 pkgdesc="A tool for automating interactive applications"
 arch=(i686 x86_64)
-depends=('tcl>=8.5.0')
-makedepends=('tk>=8.5.0')
-tcltkver=8.5.0
-source=(ftp://ftp.archlinux.org/other/expect/expect-$pkgver.tar.bz2
-#http://expect.nist.gov/src/expect-$pkgver.tar.bz2
-http://heanet.dl.sourceforge.net/sourceforge/tcl/tk$tcltkver-src.tar.gz
-http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl$tcltkver-src.tar.gz)
 url="http://expect.nist.gov/"
+depends=('tcl>=8.5.3')
+makedepends=('tk>=8.5.3')
+# CVS checkout on gerolde.
+source=(ftp://ftp.archlinux.org/other/expect/expect-${pkgver}.tar.bz2)
+#source=(http://expect.nist.gov/src/expect-${pkgver}.tar.bz2)
+license=('custom')
 
 build() {
-  cd $startdir/src/expect-5.44.1.4
+  # stuff to remove.
+  BIN="expectk multixterm tknewsbiff tkpasswd xkibitz xpstat"
+  MAN="multixterm tknewsbiff xkibitz"
+
+  cd ${srcdir}/expect-${pkgver}
+  sed 's#/usr/local/bin#/usr/bin#' -i expect.man
+  sed '/^PACKAGE_/ s/5\.44\.1\.9/5.44.1.10/' -i configure
+
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --with-tcl=/usr/lib --with-tk=/usr/lib --without-x \
-      --with-tclinclude=$startdir/src/tcl$tcltkver/generic \
-      --with-tkinclude=$startdir/src/tk$tcltkver/generic
+      --mandir=/usr/share/man --with-tcl=/usr/lib \
+      --with-tclinclude=/usr/include --with-tk=/usr/lib \
+      --with-tkinclude=/usr/include \
+
   # Keep $startdir/pkg out of library search paths.
   sed -e 's/-rpath,${LIB_RUNTIME_DIR}:/-rpath,/' -i Makefile
   make || return 1
-  make prefix=$startdir/pkg/usr exec_prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc \
-      localstatedir=$startdir/pkg/var install
+  make DESTDIR=${pkgdir} install
+
+  # license.
+  install -D -m644 README ${pkgdir}/usr/share/licenses/${pkgname}/README
+
   # Remove X related stuff.
-  rm -f $startdir/pkg/usr/bin/{multixterm,tknewsbiff,tkpasswd,xpstat}
-  rm -f $startdir/pkg/usr/man/man1/{multixterm.1,tknewsbiff.1}
+  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
 }
-md5sums=('bbfd5ef50f3c1df4fe79e5a20a947d41'
-         'bc217c45ed6b2f5b8d3120df63fa13bd'
-         'd890c505465411b25050b6cd95971d2c')




More information about the arch-commits mailing list