summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/tk
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/tk
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/tk')
-rw-r--r--abs/core-testing/tk/ChangeLog16
-rw-r--r--abs/core-testing/tk/PKGBUILD37
2 files changed, 53 insertions, 0 deletions
diff --git a/abs/core-testing/tk/ChangeLog b/abs/core-testing/tk/ChangeLog
new file mode 100644
index 0000000..83abeb6
--- /dev/null
+++ b/abs/core-testing/tk/ChangeLog
@@ -0,0 +1,16 @@
+2008-08-20 Allan McRae <allan@archlinux.org>
+
+ * 8.5.4-2 :
+ Remove xproto compatibility patch as no longer needed
+
+2008-08-16 Allan McRae <allan@archlinux.org>
+
+ * 8.5.4-1 :
+ new upstream release
+ FHS man pages
+
+2008-07-01 Allan McRae <allan@archlinux.org>
+
+ * 8.5.3-1 :
+ new upstream release
+ added patch for xproto-7.0.13 compatibility
diff --git a/abs/core-testing/tk/PKGBUILD b/abs/core-testing/tk/PKGBUILD
new file mode 100644
index 0000000..80299e6
--- /dev/null
+++ b/abs/core-testing/tk/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 9873 2008-08-20 08:29:04Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
+
+pkgname=tk
+pkgver=8.5.4
+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)
+md5sums=('a6aee7653566ec0b7c4b0f4c24a96f20')
+
+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
+ make INSTALL_ROOT=${pkgdir} install install-private-headers
+ ln -sf wish8.5 ${pkgdir}/usr/bin/wish
+ # install license
+ install -Dm644 ../license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+ # remove buildroot traces / fixes #3602
+ 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
+}