[arch-commits] CVS update of arch/build/devel/tk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun May 27 08:57:57 UTC 2007


    Date: Sunday, May 27, 2007 @ 04:57:57
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/devel/tk

Modified: PKGBUILD (1.24 -> 1.25)

updatepkg 8.4.15


----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


Index: arch/build/devel/tk/PKGBUILD
diff -u arch/build/devel/tk/PKGBUILD:1.24 arch/build/devel/tk/PKGBUILD:1.25
--- arch/build/devel/tk/PKGBUILD:1.24	Tue Oct 24 09:05:14 2006
+++ arch/build/devel/tk/PKGBUILD	Sun May 27 04:57:57 2007
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD,v 1.24 2006/10/24 13:05:14 tpowa Exp $
+# $Id: PKGBUILD,v 1.25 2007/05/27 08:57:57 andyrtr Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Committer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=tk
-pkgver=8.4.14
+pkgver=8.4.15
 pkgrel=1
 pkgdesc="A windowing toolkit for use with tcl"
 arch=(i686 x86_64)
+license=('custom')
 depends=("tcl>=${pkgver}" 'libx11')
-source=(http://heanet.dl.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('d12f591f5689f95c82bfb9c1015407bb')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+md5sums=('68777568d818e1980dda4b6b02b92f1a')
 
 build() {
   cd ${startdir}/src/tk${pkgver}/unix
-  sed -i "s/relid'/relid/" configure
-  ./configure --prefix=/usr
+if [ "$CARCH" = "x86_64" ]; then
+  ./configure --prefix=/usr --enable-threads --enable-64bit
+  else   ./configure --prefix=/usr --enable-threads --disable-64bit
+fi
   make
   make INSTALL_ROOT=${startdir}/pkg install install-private-headers
   ln -sf wish8.4 ${startdir}/pkg/usr/bin/wish
+  install -Dm644 ../license.terms $startdir/pkg/usr/share/licenses/custom/$pkgname/license.terms
 }




More information about the arch-commits mailing list