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

Allan McRae allan at archlinux.org
Thu Dec 20 13:14:01 UTC 2012


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

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