[arch-commits] Commit in tk/repos (6 files)
Date: Tuesday, September 10, 2013 @ 05:10:44 Author: eric Revision: 194019 archrelease: copy trunk to extra-i686, extra-x86_64 Added: tk/repos/extra-i686/PKGBUILD (from rev 194018, tk/trunk/PKGBUILD) tk/repos/extra-i686/tk-xcircuit.patch (from rev 194018, tk/trunk/tk-xcircuit.patch) tk/repos/extra-x86_64/PKGBUILD (from rev 194018, tk/trunk/PKGBUILD) tk/repos/extra-x86_64/tk-xcircuit.patch (from rev 194018, tk/trunk/tk-xcircuit.patch) Deleted: tk/repos/extra-i686/PKGBUILD tk/repos/extra-x86_64/PKGBUILD + /PKGBUILD | 84 ++ extra-i686/PKGBUILD| 37 extra-i686/tk-xcircuit.patch | 317 +++ extra-x86_64/PKGBUILD | 37 extra-x86_64/tk-xcircuit.patch | 317 +++ 5 files changed, 718 insertions(+), 74 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2013-09-10 03:10:02 UTC (rev 194018) +++ extra-i686/PKGBUILD 2013-09-10 03:10:44 UTC (rev 194019) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger e...@archlinux.org - -pkgname=tk -pkgver=8.6.0 -pkgrel=2 -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) -sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b') - -build() { - cd tk${pkgver}/unix - [[ $CARCH == x86_64 ]] BIT=--enable-64bit - ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT - make -} - -#check() { -# cd tk${pkgver}/unix -# make test -#} - -package() { - cd tk${pkgver}/unix - make INSTALL_ROOT=${pkgdir} install install-private-headers - ln -sf wish8.6 ${pkgdir}/usr/bin/wish - ln -sf libtk${pkgver%.*}.so ${pkgdir}/usr/lib/libtk.so - install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - # remove buildroot traces - sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh - -} Copied: tk/repos/extra-i686/PKGBUILD (from rev 194018, tk/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2013-09-10 03:10:44 UTC (rev 194019) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Eric Bélanger e...@archlinux.org + +pkgname=tk +pkgver=8.6.0 +pkgrel=3 +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 tk-xcircuit.patch) +sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b' + 'e0e75044d4e33533b0114d3c142b40b7280c364f') + +prepare() { + cd tk${pkgver} + patch -p0 -i ${srcdir}/tk-xcircuit.patch +} + +build() { + cd tk${pkgver}/unix + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT + make +} + +#check() { +# cd tk${pkgver}/unix +# make test +#} + +package() { + cd tk${pkgver}/unix + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + ln -sf libtk${pkgver%.*}.so ${pkgdir}/usr/lib/libtk.so + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh +} Copied: tk/repos/extra-i686/tk-xcircuit.patch (from rev 194018, tk/trunk/tk-xcircuit.patch) === --- extra-i686/tk-xcircuit.patch(rev 0) +++ extra-i686/tk-xcircuit.patch2013-09-10 03:10:44 UTC (rev 194019) @@ -0,0 +1,317 @@ +Index: generic/tkConfig.c +== +--- generic/tkConfig.c generic/tkConfig.c +@@ -29,11 +29,16 @@ + /* + * The following definition is an AssocData key used to keep track of all of + * the option tables that have been created for an interpreter. + */ + +-#define OPTION_HASH_KEY TkOptionTable ++typedef struct ThreadSpecificData { ++int initialized; /* 0 means table below needs initializing. */ ++Tcl_HashTable hashTable; ++} ThreadSpecificData; ++static Tcl_ThreadDataKey dataKey; ++ + + /* + * The following two structures are used along with Tk_OptionSpec structures + * to manage configuration options. Tk_OptionSpec is static templates that are + * compiled into the code of a widget or other object manager. However, to +@@ -98,12 +103,10 @@ +* templates, this points to the table +* corresponding to the next template in the +* chain. */ +
[arch-commits] Commit in tk/repos (6 files)
Date: Monday, December 24, 2012 @ 19:34:54 Author: foutrelis Revision: 173851 db-move: moved tk from [testing] to [extra] (i686, x86_64) Added: tk/repos/extra-i686/PKGBUILD (from rev 173837, tk/repos/testing-i686/PKGBUILD) tk/repos/extra-x86_64/PKGBUILD (from rev 173837, tk/repos/testing-x86_64/PKGBUILD) Deleted: tk/repos/extra-i686/PKGBUILD tk/repos/extra-x86_64/PKGBUILD tk/repos/testing-i686/ tk/repos/testing-x86_64/ ---+ extra-i686/PKGBUILD | 98 extra-x86_64/PKGBUILD | 98 2 files changed, 84 insertions(+), 112 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-12-25 00:34:49 UTC (rev 173850) +++ extra-i686/PKGBUILD 2012-12-25 00:34:54 UTC (rev 173851) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Judd Vinet jvi...@zeroflux.org - -pkgname=tk -pkgver=8.5.13 -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=('1fc7dbb7495160756dbc805224afa360') - -build() { - cd ${srcdir}/tk${pkgver}/unix - - if [ $CARCH = x86_64 ]; then -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit - else -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit - fi - - make -} - -#check() { -# cd ${srcdir}/tk${pkgver}/unix -# make test -#} - -package() { - cd ${srcdir}/tk${pkgver}/unix - - make INSTALL_ROOT=${pkgdir} install install-private-headers - ln -sf wish8.5 ${pkgdir}/usr/bin/wish - - # install private headers (FS#14388) - cd ${srcdir}/tk${pkgver} - for dir in compat generic generic/ttk unix; do -install -dm755 ${pkgdir}/usr/include/tk-private/$dir -install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h - done - - # install license - install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - # remove buildroot traces - 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, \ -${pkgdir}/usr/lib/tkConfig.sh -} Copied: tk/repos/extra-i686/PKGBUILD (from rev 173837, tk/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-12-25 00:34:54 UTC (rev 173851) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.6.0 +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=('b883a1a3c489c17413fb602a94bf54e8') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh + +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-12-25 00:34:49 UTC (rev 173850) +++ extra-x86_64/PKGBUILD 2012-12-25 00:34:54 UTC (rev 173851) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Judd Vinet jvi...@zeroflux.org - -pkgname=tk -pkgver=8.5.13 -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=('1fc7dbb7495160756dbc805224afa360') - -build() { - cd ${srcdir}/tk${pkgver}/unix - - if [ $CARCH = x86_64 ]; then -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit - else -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit - fi - - make -} - -#check() { -# cd ${srcdir}/tk${pkgver}/unix -# make test -#} - -package() { - cd
[arch-commits] Commit in tk/repos (6 files)
Date: Sunday, December 23, 2012 @ 21:21:02 Author: foutrelis Revision: 173816 db-move: moved tk from [staging] to [testing] (i686, x86_64) Added: tk/repos/testing-i686/ tk/repos/testing-i686/PKGBUILD (from rev 173802, tk/repos/staging-i686/PKGBUILD) tk/repos/testing-x86_64/ tk/repos/testing-x86_64/PKGBUILD (from rev 173802, tk/repos/staging-x86_64/PKGBUILD) Deleted: tk/repos/staging-i686/ tk/repos/staging-x86_64/ -+ testing-i686/PKGBUILD | 42 ++ testing-x86_64/PKGBUILD | 42 ++ 2 files changed, 84 insertions(+) Copied: tk/repos/testing-i686/PKGBUILD (from rev 173802, tk/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-12-24 02:21:02 UTC (rev 173816) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.6.0 +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=('b883a1a3c489c17413fb602a94bf54e8') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh + +} Copied: tk/repos/testing-x86_64/PKGBUILD (from rev 173802, tk/repos/staging-x86_64/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-12-24 02:21:02 UTC (rev 173816) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.6.0 +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=('b883a1a3c489c17413fb602a94bf54e8') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh + +}
[arch-commits] Commit in tk/repos (6 files)
Date: Thursday, December 20, 2012 @ 13:15:19 Author: andyrtr Revision: 173673 db-move: moved tk from [testing] to [staging] (i686, x86_64) Added: tk/repos/staging-i686/ tk/repos/staging-i686/PKGBUILD (from rev 173671, tk/repos/testing-i686/PKGBUILD) tk/repos/staging-x86_64/ tk/repos/staging-x86_64/PKGBUILD (from rev 173671, tk/repos/testing-x86_64/PKGBUILD) Deleted: tk/repos/testing-i686/ tk/repos/testing-x86_64/ -+ staging-i686/PKGBUILD | 42 ++ staging-x86_64/PKGBUILD | 42 ++ 2 files changed, 84 insertions(+) Copied: tk/repos/staging-i686/PKGBUILD (from rev 173671, tk/repos/testing-i686/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-12-20 18:15:19 UTC (rev 173673) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.6.0 +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=('b883a1a3c489c17413fb602a94bf54e8') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh + +} Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 173671, tk/repos/testing-x86_64/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-12-20 18:15:19 UTC (rev 173673) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.6.0 +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=('b883a1a3c489c17413fb602a94bf54e8') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + [[ $CARCH == x86_64 ]] BIT=--enable-64bit + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.6 ${pkgdir}/usr/bin/wish + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + sed -i s#${srcdir}#/usr/src# ${pkgdir}/usr/lib/tkConfig.sh + +}
[arch-commits] Commit in tk/repos (6 files)
Date: Tuesday, July 31, 2012 @ 21:21:39 Author: allan Revision: 164388 db-move: moved tk from [testing] to [extra] (i686, x86_64) Added: tk/repos/extra-i686/PKGBUILD (from rev 164386, tk/repos/testing-i686/PKGBUILD) tk/repos/extra-x86_64/PKGBUILD (from rev 164386, tk/repos/testing-x86_64/PKGBUILD) Deleted: tk/repos/extra-i686/PKGBUILD tk/repos/extra-x86_64/PKGBUILD tk/repos/testing-i686/ tk/repos/testing-x86_64/ ---+ extra-i686/PKGBUILD | 112 extra-x86_64/PKGBUILD | 112 2 files changed, 112 insertions(+), 112 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-08-01 01:21:35 UTC (rev 164387) +++ extra-i686/PKGBUILD 2012-08-01 01:21:39 UTC (rev 164388) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Judd Vinet jvi...@zeroflux.org - -pkgname=tk -pkgver=8.5.11 -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=('b61b72f0aad230091b100746f078b8f1') - -build() { - cd ${srcdir}/tk${pkgver}/unix - - if [ $CARCH = x86_64 ]; then -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit - else -./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit - fi - - make -} - -#check() { -# cd ${srcdir}/tk${pkgver}/unix -# make test -#} - -package() { - cd ${srcdir}/tk${pkgver}/unix - - make INSTALL_ROOT=${pkgdir} install install-private-headers - ln -sf wish8.5 ${pkgdir}/usr/bin/wish - - # install private headers (FS#14388) - cd ${srcdir}/tk${pkgver} - for dir in compat generic generic/ttk unix; do -install -dm755 ${pkgdir}/usr/include/tk-private/$dir -install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h - done - - # install license - install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - # remove buildroot traces - 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, \ -${pkgdir}/usr/lib/tkConfig.sh -} Copied: tk/repos/extra-i686/PKGBUILD (from rev 164386, tk/repos/testing-i686/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-08-01 01:21:39 UTC (rev 164388) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Allan McRae al...@archlinux.org +# Contributor: Judd Vinet jvi...@zeroflux.org + +pkgname=tk +pkgver=8.5.12 +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=('a01640176845c1f654a412cfc9bab13b') + +build() { + cd ${srcdir}/tk${pkgver}/unix + + if [ $CARCH = x86_64 ]; then +./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --enable-64bit + else +./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-64bit + fi + + make +} + +#check() { +# cd ${srcdir}/tk${pkgver}/unix +# make test +#} + +package() { + cd ${srcdir}/tk${pkgver}/unix + + make INSTALL_ROOT=${pkgdir} install install-private-headers + ln -sf wish8.5 ${pkgdir}/usr/bin/wish + + # install private headers (FS#14388) + cd ${srcdir}/tk${pkgver} + for dir in compat generic generic/ttk unix; do +install -dm755 ${pkgdir}/usr/include/tk-private/$dir +install -m644 -t ${pkgdir}/usr/include/tk-private/$dir $dir/*.h + done + + # install license + install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # remove buildroot traces + 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, \ +${pkgdir}/usr/lib/tkConfig.sh +} Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-08-01 01:21:35 UTC (rev 164387) +++ extra-x86_64/PKGBUILD 2012-08-01 01:21:39 UTC (rev 164388) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Allan McRae al...@archlinux.org -# Contributor: Judd Vinet jvi...@zeroflux.org - -pkgname=tk -pkgver=8.5.11 -pkgrel=1 -pkgdesc=A windowing toolkit for use with