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 + +}