summaryrefslogtreecommitdiff
path: root/testing/tk
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /testing/tk
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'testing/tk')
-rw-r--r--testing/tk/PKGBUILD56
1 files changed, 0 insertions, 56 deletions
diff --git a/testing/tk/PKGBUILD b/testing/tk/PKGBUILD
deleted file mode 100644
index 091bd8f72..000000000
--- a/testing/tk/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 142447 2011-11-10 00:01:05Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-
-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
-}