[arch-commits] Commit in tk/repos (6 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Dec 20 18:15:19 UTC 2012
Date: Thursday, December 20, 2012 @ 13:15:19
Author: andyrtr
Revision: 173673
db-move: moved tk from [testing] to [staging] (i686, x86_64)
Added:
tk/repos/staging-i686/
tk/repos/staging-i686/PKGBUILD
(from rev 173671, tk/repos/testing-i686/PKGBUILD)
tk/repos/staging-x86_64/
tk/repos/staging-x86_64/PKGBUILD
(from rev 173671, tk/repos/testing-x86_64/PKGBUILD)
Deleted:
tk/repos/testing-i686/
tk/repos/testing-x86_64/
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: tk/repos/staging-i686/PKGBUILD (from rev 173671, tk/repos/testing-i686/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-12-20 18:15:19 UTC (rev 173673)
@@ -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/staging-x86_64/PKGBUILD (from rev 173671, tk/repos/testing-x86_64/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-12-20 18:15:19 UTC (rev 173673)
@@ -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