[arch-commits] Commit in tk/repos (extra-i686 extra-i686/PKGBUILD)
Allan McRae
allan at archlinux.org
Tue Jul 1 09:43:13 UTC 2008
Date: Tuesday, July 1, 2008 @ 05:43:13
Author: allan
Revision: 3827
upgpkg: tk 8.5.3-1
upstream update
patch added for xproto 7.0.13 compaibility
Modified:
tk/repos/extra-i686/ (properties)
tk/repos/extra-i686/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++--------------
1 file changed, 23 insertions(+), 14 deletions(-)
Property changes on: tk/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
- /tk/trunk:1
+ /tk/trunk:1-3825
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2008-07-01 09:41:10 UTC (rev 3826)
+++ extra-i686/PKGBUILD 2008-07-01 09:43:13 UTC (rev 3827)
@@ -1,27 +1,36 @@
# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
pkgname=tk
-pkgver=8.5.2
+pkgver=8.5.3
pkgrel=1
pkgdesc="A windowing toolkit for use with tcl"
arch=('i686' 'x86_64')
+url="http://tcl.sourceforge.net/"
license=('custom')
depends=("tcl=${pkgver}" 'libxss' 'libxft')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('bd014bd3e1a818e06ad375b95241452d')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz
+ xproto-7-0-13.patch)
+md5sums=('c7d2ef187d0f313850689cda20148ec3'
+ '024f8db9663bd7035feac59aabd7e516')
build() {
- cd ${startdir}/src/tk${pkgver}/unix
-if [ "$CARCH" = "x86_64" ]; then
- ./configure --prefix=/usr --enable-threads --enable-64bit
- else ./configure --prefix=/usr --enable-threads --disable-64bit
-fi
+ cd ${srcdir}/tk${pkgver}
+ patch -Np1 -i ${srcdir}/xproto-7-0-13.patch
+
+ cd ${srcdir}/tk${pkgver}/unix
+ 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.5 ${startdir}/pkg/usr/bin/wish
+ make INSTALL_ROOT=${pkgdir} install install-private-headers
+ ln -sf wish8.5 ${pkgdir}/usr/bin/wish
# install license
- install -Dm644 ../license.terms $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
# remove buildroot traces / fixes #3602
sed -i \
@@ -29,5 +38,5 @@
-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
+ ${pkgdir}/usr/lib/tkConfig.sh
}
More information about the arch-commits
mailing list