summaryrefslogtreecommitdiff
path: root/extra/tk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/tk/PKGBUILD')
-rw-r--r--extra/tk/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index 5150c48a5..04e1108a4 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -1,16 +1,22 @@
-# $Id: PKGBUILD 192227 2013-08-08 07:38:43Z eric $
+# $Id: PKGBUILD 194019 2013-09-10 03:10:44Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=tk
pkgver=8.6.0
-pkgrel=2
+pkgrel=3
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)
-sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b')
+source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz tk-xcircuit.patch)
+sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b'
+ 'e0e75044d4e33533b0114d3c142b40b7280c364f')
+
+prepare() {
+ cd tk${pkgver}
+ patch -p0 -i "${srcdir}/tk-xcircuit.patch"
+}
build() {
cd tk${pkgver}/unix
@@ -33,5 +39,4 @@ package() {
# remove buildroot traces
sed -i "s#${srcdir}#/usr/src#" "${pkgdir}/usr/lib/tkConfig.sh"
-
}