summaryrefslogtreecommitdiff
path: root/extra/tk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-12 01:43:12 -0700
committerroot <root@rshg054.dnsready.net>2013-09-12 01:43:12 -0700
commit67c663ff9aaeee1572097ef4eceb39c039d91f42 (patch)
tree4d2b7879f5acbe2a2782593532b37a13c7a9c87b /extra/tk
parent2cfbbdcb041073ed1f9aff2f2fd630b24e039e6d (diff)
Thu Sep 12 01:42:53 PDT 2013
Diffstat (limited to 'extra/tk')
-rw-r--r--extra/tk/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
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"
}