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

2017-09-17 Thread Antonio Rojas
Date: Sunday, September 17, 2017 @ 20:26:56
  Author: arojas
Revision: 305735

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  tk/repos/extra-i686/PKGBUILD
(from rev 305734, tk/trunk/PKGBUILD)
  tk/repos/extra-x86_64/PKGBUILD
(from rev 305734, tk/trunk/PKGBUILD)
Deleted:
  tk/repos/extra-i686/PKGBUILD
  tk/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   92 
 extra-i686/PKGBUILD   |   39 
 extra-x86_64/PKGBUILD |   39 
 3 files changed, 92 insertions(+), 78 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-09-17 20:26:23 UTC (rev 305734)
+++ extra-i686/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.7
-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')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i "${pkgdir}/usr/lib/tkConfig.sh"
-}

Copied: tk/repos/extra-i686/PKGBUILD (from rev 305734, tk/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-09-17 20:26:56 UTC (rev 305735)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.7
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+
+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 wish${pkgver%.*} "${pkgdir}/usr/bin/wish"
+  ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so"
+  install -Dm644 license.terms 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # install private headers (FS#14388, FS#47616)
+  cd ..
+  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
+
+  # remove buildroot traces
+  sed -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2017-09-17 20:26:23 UTC (rev 305734)
+++ extra-x86_64/PKGBUILD   2017-09-17 20:26:56 UTC (rev 305735)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.7
-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')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i

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

2017-08-19 Thread Antonio Rojas
Date: Saturday, August 19, 2017 @ 20:30:38
  Author: arojas
Revision: 302903

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 302902, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 302902, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 302902, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2017-08-19 20:30:38 UTC (rev 302903)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.7
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 302902, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-08-19 20:30:38 UTC (rev 302903)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.7
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('eb58b4523f376fdf8b1f4439a958227ada52e2c8')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}


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

2017-07-11 Thread Antonio Rojas
Date: Tuesday, July 11, 2017 @ 08:20:59
  Author: arojas
Revision: 300084

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  tk/repos/extra-i686/PKGBUILD
(from rev 300083, tk/trunk/PKGBUILD)
  tk/repos/extra-x86_64/PKGBUILD
(from rev 300083, tk/trunk/PKGBUILD)
Deleted:
  tk/repos/extra-i686/PKGBUILD
  tk/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   78 
 extra-i686/PKGBUILD   |   39 
 extra-x86_64/PKGBUILD |   39 
 3 files changed, 78 insertions(+), 78 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-07-11 08:20:31 UTC (rev 300083)
+++ extra-i686/PKGBUILD 2017-07-11 08:20:59 UTC (rev 300084)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.6
-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')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i "${pkgdir}/usr/lib/tkConfig.sh"
-}

Copied: tk/repos/extra-i686/PKGBUILD (from rev 300083, tk/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-07-11 08:20:59 UTC (rev 300084)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.6
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2017-07-11 08:20:31 UTC (rev 300083)
+++ extra-x86_64/PKGBUILD   2017-07-11 08:20:59 UTC (rev 300084)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.6
-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')
-options=('staticlibs')
-source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i "${pkgdir}/usr/lib/tkConfig.sh"
-}

Copied: tk/repos/extra-x86_64/PKGBUILD (from rev 300083, tk/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 

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

2016-08-02 Thread Antonio Rojas
Date: Tuesday, August 2, 2016 @ 22:08:17
  Author: arojas
Revision: 272920

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 272919, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 272919, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 272919, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-08-02 22:08:17 UTC (rev 272920)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.6
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 272919, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-08-02 22:08:17 UTC (rev 272920)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.6
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('34d546496c05014349cf5edad6696c125ad4f9ea')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}


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

2016-05-25 Thread Antonio Rojas
Date: Wednesday, May 25, 2016 @ 22:59:32
  Author: arojas
Revision: 268573

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 268572, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 268572, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 268572, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-05-25 20:59:32 UTC (rev 268573)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.5
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('e63f9e46cfd4ea37799554b003958b54b51dc347')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 268572, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-05-25 20:59:32 UTC (rev 268573)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.5
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('e63f9e46cfd4ea37799554b003958b54b51dc347')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}


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

2015-03-19 Thread Eric Bélanger
Date: Friday, March 20, 2015 @ 03:47:03
  Author: eric
Revision: 234187

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 234186, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 234186, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 234186, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-03-20 02:47:03 UTC (rev 234187)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.4
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('ad24c59ac2e7453d1ed2bad0d7d18a01eabc5226')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 234186, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-03-20 02:47:03 UTC (rev 234187)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.4
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('ad24c59ac2e7453d1ed2bad0d7d18a01eabc5226')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}


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

2014-11-12 Thread Eric Bélanger
Date: Wednesday, November 12, 2014 @ 20:08:52
  Author: eric
Revision: 226134

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 226133, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 226133, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 226133, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-11-12 19:08:52 UTC (rev 226134)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.3
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('244ddc0f64cc3d429c9d86135d0bbe2cf06c9360')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 226133, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-11-12 19:08:52 UTC (rev 226134)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.3
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('244ddc0f64cc3d429c9d86135d0bbe2cf06c9360')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}


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

2014-08-29 Thread Eric Bélanger
Date: Saturday, August 30, 2014 @ 04:24:10
  Author: eric
Revision: 220809

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 220808, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 220808, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 220808, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-08-30 02:24:10 UTC (rev 220809)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.2
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('138920fb55933a715f0b0ace576120734f771b80')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 220808, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-08-30 02:24:10 UTC (rev 220809)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.2
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('138920fb55933a715f0b0ace576120734f771b80')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}



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

2013-10-24 Thread Allan McRae
Date: Friday, October 25, 2013 @ 04:55:42
  Author: allan
Revision: 197364

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  tk/repos/extra-i686/PKGBUILD
(from rev 197363, tk/trunk/PKGBUILD)
  tk/repos/extra-x86_64/PKGBUILD
(from rev 197363, tk/trunk/PKGBUILD)
Deleted:
  tk/repos/extra-i686/PKGBUILD
  tk/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   78 
 extra-i686/PKGBUILD   |   38 ---
 extra-x86_64/PKGBUILD |   38 ---
 3 files changed, 78 insertions(+), 76 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2013-10-25 02:54:51 UTC (rev 197363)
+++ extra-i686/PKGBUILD 2013-10-25 02:55:42 UTC (rev 197364)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.1
-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)
-sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i "${pkgdir}/usr/lib/tkConfig.sh"
-}

Copied: tk/repos/extra-i686/PKGBUILD (from rev 197363, tk/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-10-25 02:55:42 UTC (rev 197364)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.1
+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')
+options=('staticlibs')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
+sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2013-10-25 02:54:51 UTC (rev 197363)
+++ extra-x86_64/PKGBUILD   2013-10-25 02:55:42 UTC (rev 197364)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgname=tk
-pkgver=8.6.1
-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)
-sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
-
-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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
-  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
-  -i "${pkgdir}/usr/lib/tkConfig.sh"
-}

Copied: tk/repos/extra-x86_64/PKGBUILD (from rev 197363, tk/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2013-10-25 02:

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

2013-09-20 Thread Eric Bélanger
Date: Friday, September 20, 2013 @ 18:50:24
  Author: eric
Revision: 194659

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  tk/repos/staging-i686/
  tk/repos/staging-i686/PKGBUILD
(from rev 194658, tk/trunk/PKGBUILD)
  tk/repos/staging-x86_64/
  tk/repos/staging-x86_64/PKGBUILD
(from rev 194658, tk/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   38 ++
 staging-x86_64/PKGBUILD |   38 ++
 2 files changed, 76 insertions(+)

Copied: tk/repos/staging-i686/PKGBUILD (from rev 194658, tk/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2013-09-20 16:50:24 UTC (rev 194659)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.1
+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)
+sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}

Copied: tk/repos/staging-x86_64/PKGBUILD (from rev 194658, tk/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-09-20 16:50:24 UTC (rev 194659)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=tk
+pkgver=8.6.1
+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)
+sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51')
+
+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 wish${pkgver%.*} "${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 -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+  -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+  -i "${pkgdir}/usr/lib/tkConfig.sh"
+}



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

2013-08-08 Thread Eric Bélanger
Date: Thursday, August 8, 2013 @ 09:38:43
  Author: eric
Revision: 192227

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  tk/repos/extra-i686/PKGBUILD
(from rev 192226, tk/trunk/PKGBUILD)
  tk/repos/extra-x86_64/PKGBUILD
(from rev 192226, tk/trunk/PKGBUILD)
Deleted:
  tk/repos/extra-i686/PKGBUILD
  tk/repos/extra-x86_64/PKGBUILD

---+
 /PKGBUILD |   74 
 extra-i686/PKGBUILD   |   42 ---
 extra-x86_64/PKGBUILD |   42 ---
 3 files changed, 74 insertions(+), 84 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2013-08-08 07:38:15 UTC (rev 192226)
+++ extra-i686/PKGBUILD 2013-08-08 07:38:43 UTC (rev 192227)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Judd Vinet 
-
-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/extra-i686/PKGBUILD (from rev 192226, tk/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-08-08 07:38:43 UTC (rev 192227)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+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"
+
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2013-08-08 07:38:15 UTC (rev 192226)
+++ extra-x86_64/PKGBUILD   2013-08-08 07:38:43 UTC (rev 192227)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Judd Vinet 
-
-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/extra-x86_64/PKGBUILD (from rev 192226, tk/trunk/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2013-08-08 07:38:43 UTC (rev 192227)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+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')

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

2012-12-20 Thread Allan McRae
Date: Thursday, December 20, 2012 @ 08:14:00
  Author: allan
Revision: 173665

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  tk/repos/testing-i686/
  tk/repos/testing-i686/PKGBUILD
(from rev 173664, tk/trunk/PKGBUILD)
  tk/repos/testing-x86_64/
  tk/repos/testing-x86_64/PKGBUILD
(from rev 173664, tk/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   42 ++
 testing-x86_64/PKGBUILD |   42 ++
 2 files changed, 84 insertions(+)

Copied: tk/repos/testing-i686/PKGBUILD (from rev 173664, tk/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-12-20 13:14:00 UTC (rev 173665)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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 173664, tk/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-12-20 13:14:00 UTC (rev 173665)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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 (4 files)

2012-11-09 Thread Allan McRae
Date: Friday, November 9, 2012 @ 23:52:11
  Author: allan
Revision: 170723

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  tk/repos/extra-i686/PKGBUILD
(from rev 170722, tk/trunk/PKGBUILD)
  tk/repos/extra-x86_64/PKGBUILD
(from rev 170722, tk/trunk/PKGBUILD)
Deleted:
  tk/repos/extra-i686/PKGBUILD
  tk/repos/extra-x86_64/PKGBUILD

---+
 extra-i686/PKGBUILD   |  112 
 extra-x86_64/PKGBUILD |  112 
 2 files changed, 112 insertions(+), 112 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2012-11-10 04:51:17 UTC (rev 170722)
+++ extra-i686/PKGBUILD 2012-11-10 04:52:11 UTC (rev 170723)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Judd Vinet 
-
-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
-}

Copied: tk/repos/extra-i686/PKGBUILD (from rev 170722, tk/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-11-10 04:52:11 UTC (rev 170723)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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
+}

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2012-11-10 04:51:17 UTC (rev 170722)
+++ extra-x86_64/PKGBUILD   2012-11-10 04:52:11 UTC (rev 170723)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae 
-# Contributor: Judd Vinet 
-
-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/sourc

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

2012-07-28 Thread Allan McRae
Date: Saturday, July 28, 2012 @ 05:52:37
  Author: allan
Revision: 164249

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  tk/repos/testing-i686/
  tk/repos/testing-i686/PKGBUILD
(from rev 164248, tk/trunk/PKGBUILD)
  tk/repos/testing-x86_64/
  tk/repos/testing-x86_64/PKGBUILD
(from rev 164248, tk/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   56 ++
 testing-x86_64/PKGBUILD |   56 ++
 2 files changed, 112 insertions(+)

Copied: tk/repos/testing-i686/PKGBUILD (from rev 164248, tk/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-07-28 09:52:37 UTC (rev 164249)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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
+}

Copied: tk/repos/testing-x86_64/PKGBUILD (from rev 164248, tk/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-07-28 09:52:37 UTC (rev 164249)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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
+}



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

2011-11-09 Thread Allan McRae
Date: Wednesday, November 9, 2011 @ 19:01:05
  Author: allan
Revision: 142447

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  tk/repos/testing-i686/
  tk/repos/testing-i686/PKGBUILD
(from rev 142446, tk/trunk/PKGBUILD)
  tk/repos/testing-x86_64/
  tk/repos/testing-x86_64/PKGBUILD
(from rev 142446, tk/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   56 ++
 testing-x86_64/PKGBUILD |   56 ++
 2 files changed, 112 insertions(+)

Copied: tk/repos/testing-i686/PKGBUILD (from rev 142446, tk/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2011-11-10 00:01:05 UTC (rev 142447)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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/testing-x86_64/PKGBUILD (from rev 142446, tk/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-11-10 00:01:05 UTC (rev 142447)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Allan McRae 
+# Contributor: Judd Vinet 
+
+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
+}