Date: Thursday, August 8, 2013 @ 09:35:09 Author: eric Revision: 192224
archrelease: copy trunk to extra-i686, extra-x86_64 Added: tcl/repos/extra-x86_64/PKGBUILD (from rev 192223, tcl/trunk/PKGBUILD) Deleted: tcl/repos/extra-i686/PKGBUILD tcl/repos/extra-x86_64/PKGBUILD -----------------------+ /PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 47 ----------------------------------------------- extra-x86_64/PKGBUILD | 47 ----------------------------------------------- 3 files changed, 45 insertions(+), 94 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2013-08-08 07:33:57 UTC (rev 192223) +++ extra-i686/PKGBUILD 2013-08-08 07:35:09 UTC (rev 192224) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=tcl -pkgver=8.6.0 -pkgrel=4 -pkgdesc="The Tcl scripting language" -arch=('i686' 'x86_64') -url="http://tcl.sourceforge.net/" -license=('custom') -depends=('zlib') -source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz) -md5sums=('573aa5fe678e9185ef2b3c56b24658d3') - -prepare() { - cd tcl${pkgver} - # we build the tcl sqlite interface in sqlite-tcl package - rm -rf pkgs/sqlite3* - - sed -i 's/#define DUPTRAVERSE_MAX_DEPTH 500/#define DUPTRAVERSE_MAX_DEPTH 5000/' \ - generic/regc_nfa.c -} - -build() { - cd tcl${pkgver}/unix - [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit" - ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT - make -} - -check() { - cd tcl${pkgver}/unix - make test -} - -package() { - cd tcl${pkgver}/unix - make INSTALL_ROOT="${pkgdir}" install install-private-headers - find "${pkgdir}" -name '*.a' -type f -exec chmod 644 {} \; - ln -sf tclsh8.6 "${pkgdir}/usr/bin/tclsh" - - # install license - install -Dm644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # remove buildroot traces - sed -i "s#${srcdir}#/usr/src#" "${pkgdir}"/usr/lib/{tcl,tdbc1.0.0/tdbc,itcl4.0.0/itcl}Config.sh -} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2013-08-08 07:33:57 UTC (rev 192223) +++ extra-x86_64/PKGBUILD 2013-08-08 07:35:09 UTC (rev 192224) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=tcl -pkgver=8.6.0 -pkgrel=4 -pkgdesc="The Tcl scripting language" -arch=('i686' 'x86_64') -url="http://tcl.sourceforge.net/" -license=('custom') -depends=('zlib') -source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz) -md5sums=('573aa5fe678e9185ef2b3c56b24658d3') - -prepare() { - cd tcl${pkgver} - # we build the tcl sqlite interface in sqlite-tcl package - rm -rf pkgs/sqlite3* - - sed -i 's/#define DUPTRAVERSE_MAX_DEPTH 500/#define DUPTRAVERSE_MAX_DEPTH 5000/' \ - generic/regc_nfa.c -} - -build() { - cd tcl${pkgver}/unix - [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit" - ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT - make -} - -check() { - cd tcl${pkgver}/unix - make test -} - -package() { - cd tcl${pkgver}/unix - make INSTALL_ROOT="${pkgdir}" install install-private-headers - find "${pkgdir}" -name '*.a' -type f -exec chmod 644 {} \; - ln -sf tclsh8.6 "${pkgdir}/usr/bin/tclsh" - - # install license - install -Dm644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # remove buildroot traces - sed -i "s#${srcdir}#/usr/src#" "${pkgdir}"/usr/lib/{tcl,tdbc1.0.0/tdbc,itcl4.0.0/itcl}Config.sh -} Copied: tcl/repos/extra-x86_64/PKGBUILD (from rev 192223, tcl/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2013-08-08 07:35:09 UTC (rev 192224) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=tcl +pkgver=8.6.0 +pkgrel=5 +pkgdesc="The Tcl scripting language" +arch=('i686' 'x86_64') +url="http://tcl.sourceforge.net/" +license=('custom') +depends=('zlib') +source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz) +sha1sums=('fc57fc08ab113740a702bb67d4f350f8ec85ef58') + +prepare() { + cd tcl${pkgver} + # we build the tcl sqlite interface in sqlite-tcl package + rm -rf pkgs/sqlite3* + + sed -i 's/#define DUPTRAVERSE_MAX_DEPTH 500/#define DUPTRAVERSE_MAX_DEPTH 5000/' \ + generic/regc_nfa.c +} + +build() { + cd tcl${pkgver}/unix + [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit" + ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT + make +} + +check() { + cd tcl${pkgver}/unix + make test +} + +package() { + cd tcl${pkgver}/unix + make INSTALL_ROOT="${pkgdir}" install install-private-headers + ln -sf tclsh8.6 "${pkgdir}/usr/bin/tclsh" + ln -sf libtcl${pkgver%.*}.so "${pkgdir}/usr/lib/libtcl.so" + install -Dm644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # remove buildroot traces + sed -i "s#${srcdir}#/usr/src#" "${pkgdir}"/usr/lib/{tcl,tdbc1.0.0/tdbc,itcl4.0.0/itcl}Config.sh +}