[arch-commits] Commit in tcl/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Dec 24 02:20:59 UTC 2012


    Date: Sunday, December 23, 2012 @ 21:20:59
  Author: foutrelis
Revision: 173814

db-move: moved tcl from [staging] to [testing] (i686, x86_64)

Added:
  tcl/repos/testing-i686/
  tcl/repos/testing-i686/PKGBUILD
    (from rev 173802, tcl/repos/staging-i686/PKGBUILD)
  tcl/repos/testing-x86_64/
  tcl/repos/testing-x86_64/PKGBUILD
    (from rev 173802, tcl/repos/staging-x86_64/PKGBUILD)
Deleted:
  tcl/repos/staging-i686/
  tcl/repos/staging-x86_64/

-------------------------+
 testing-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: tcl/repos/testing-i686/PKGBUILD (from rev 173802, tcl/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-12-24 02:20:59 UTC (rev 173814)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Committer: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=tcl
+pkgver=8.6.0
+pkgrel=1
+pkgdesc="The Tcl scripting language"
+arch=('i686' 'x86_64')
+url="http://tcl.sourceforge.net/"
+license=('custom')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
+md5sums=('669b0103431babff2494f3f2637eb864')
+
+build() {
+  cd ${srcdir}/tcl${pkgver}/unix
+  
+  [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
+  
+  make
+}
+
+check() {
+  cd ${srcdir}/tcl${pkgver}/unix
+  make test
+}
+
+package()
+{
+  cd ${srcdir}/tcl${pkgver}/unix
+  
+  make INSTALL_ROOT=${pkgdir} install install-private-headers
+  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/testing-x86_64/PKGBUILD (from rev 173802, tcl/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-12-24 02:20:59 UTC (rev 173814)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Committer: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=tcl
+pkgver=8.6.0
+pkgrel=1
+pkgdesc="The Tcl scripting language"
+arch=('i686' 'x86_64')
+url="http://tcl.sourceforge.net/"
+license=('custom')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
+md5sums=('669b0103431babff2494f3f2637eb864')
+
+build() {
+  cd ${srcdir}/tcl${pkgver}/unix
+  
+  [[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
+  
+  make
+}
+
+check() {
+  cd ${srcdir}/tcl${pkgver}/unix
+  make test
+}
+
+package()
+{
+  cd ${srcdir}/tcl${pkgver}/unix
+  
+  make INSTALL_ROOT=${pkgdir} install install-private-headers
+  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
+}




More information about the arch-commits mailing list