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

Eric Bélanger eric at archlinux.org
Fri Mar 20 02:47:03 UTC 2015


    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 <eric at archlinux.org>
+
+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 <eric at archlinux.org>
+
+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"
+}



More information about the arch-commits mailing list