From 67c663ff9aaeee1572097ef4eceb39c039d91f42 Mon Sep 17 00:00:00 2001
From: root <root@rshg054.dnsready.net>
Date: Thu, 12 Sep 2013 01:43:12 -0700
Subject: Thu Sep 12 01:42:53 PDT 2013

---
 extra/tk/PKGBUILD | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'extra/tk')

diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index 04e1108a4..c5116f60c 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 194019 2013-09-10 03:10:44Z eric $
+# $Id: PKGBUILD 194259 2013-09-11 22:03:31Z eric $
 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
 
 pkgname=tk
 pkgver=8.6.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A windowing toolkit for use with tcl"
 arch=('i686' 'x86_64')
 url="http://tcl.sourceforge.net/"
@@ -25,10 +25,10 @@ build() {
   make
 }
 
-#check() {
-#  cd tk${pkgver}/unix
+check() {
+  cd tk${pkgver}/unix
 #  make test
-#}
+}
 
 package() {
   cd tk${pkgver}/unix
@@ -38,5 +38,7 @@ package() {
   install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 
   # remove buildroot traces
-  sed -i "s#${srcdir}#/usr/src#" "${pkgdir}/usr/lib/tkConfig.sh"
+  sed -e "s#${srcdir}/tk${pkgver}/unix#/usr/lib#" \
+      -e "s#${srcdir}/tk${pkgver}#/usr/include#" \
+      -i "${pkgdir}/usr/lib/tkConfig.sh"
 }
-- 
cgit v1.2.3-54-g00ecf