[arch-commits] CVS update of extra/devel/tk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sun Nov 11 22:35:19 UTC 2007
Date: Sunday, November 11, 2007 @ 17:35:19
Author: andyrtr
Path: /home/cvs-extra/extra/devel/tk
Modified: PKGBUILD (1.27 -> 1.28)
upgpkg: tk 8.4.16-2
#3602 fixed
----------+
PKGBUILD | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Index: extra/devel/tk/PKGBUILD
diff -u extra/devel/tk/PKGBUILD:1.27 extra/devel/tk/PKGBUILD:1.28
--- extra/devel/tk/PKGBUILD:1.27 Sat Sep 22 08:17:49 2007
+++ extra/devel/tk/PKGBUILD Sun Nov 11 17:35:19 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.27 2007/09/22 12:17:49 andyrtr Exp $
+# $Id: PKGBUILD,v 1.28 2007/11/11 22:35:19 andyrtr Exp $
# Maintainer: dorphell <dorphell at archlinux.org>
# Committer: Judd Vinet <jvinet at zeroflux.org>
pkgname=tk
pkgver=8.4.16
-pkgrel=1
+pkgrel=2
pkgdesc="A windowing toolkit for use with tcl"
arch=(i686 x86_64)
license=('custom')
@@ -22,4 +22,12 @@
ln -sf wish8.4 ${startdir}/pkg/usr/bin/wish
# install license
install -Dm644 ../license.terms $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+
+ # remove buildroot traces / fixes #3602
+ sed -i \
+ -e "s,^TK_BUILD_LIB_SPEC='-L.*/unix,TK_BUILD_LIB_SPEC='-L/usr/lib," \
+ -e "s,^TK_SRC_DIR='.*',TK_SRC_DIR='/usr/include'," \
+ -e "s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix,TK_BUILD_STUB_LIB_SPEC='-L/usr/lib," \
+ -e "s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='/usr/lib," \
+ $startdir/pkg/usr/lib/tkConfig.sh
}
More information about the arch-commits
mailing list