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

Evangelos Foutras foutrelis at archlinux.org
Tue Dec 25 00:34:55 UTC 2012


    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 <allan at archlinux.org>
-# Contributor: Judd Vinet <jvinet at 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 <allan at archlinux.org>
+# Contributor: Judd Vinet <jvinet at 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 <allan at archlinux.org>
-# Contributor: Judd Vinet <jvinet at 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-x86_64/PKGBUILD (from rev 173837, tk/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-12-25 00:34:54 UTC (rev 173851)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Judd Vinet <jvinet at 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
+
+}




More information about the arch-commits mailing list