summaryrefslogtreecommitdiff
path: root/extra/tcl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-13 01:42:57 -0700
committerroot <root@rshg054.dnsready.net>2013-09-13 01:42:57 -0700
commit8996dd88e696bae485c13257572e2f38f5633251 (patch)
tree91d8fe49ec3085cdba925c87616d15f71997e1fa /extra/tcl/PKGBUILD
parent67c663ff9aaeee1572097ef4eceb39c039d91f42 (diff)
Fri Sep 13 01:42:32 PDT 2013
Diffstat (limited to 'extra/tcl/PKGBUILD')
-rw-r--r--extra/tcl/PKGBUILD19
1 files changed, 16 insertions, 3 deletions
diff --git a/extra/tcl/PKGBUILD b/extra/tcl/PKGBUILD
index 999f1f695..fdde612e2 100644
--- a/extra/tcl/PKGBUILD
+++ b/extra/tcl/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 192225 2013-08-08 07:36:39Z eric $
+# $Id: PKGBUILD 194261 2013-09-11 22:07:57Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=tcl
pkgver=8.6.0
-pkgrel=5
+pkgrel=6
pkgdesc="The Tcl scripting language"
arch=('i686' 'x86_64')
url="http://tcl.sourceforge.net/"
@@ -41,5 +41,18 @@ package() {
install -Dm644 ../license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove buildroot traces
- sed -i "s#${srcdir}#/usr/src#" "${pkgdir}"/usr/lib/{tcl,tdbc1.0.0/tdbc,itcl4.0.0/itcl}Config.sh
+ sed -e "s#${srcdir}/tcl${pkgver}/unix#/usr/lib#" \
+ -e "s#${srcdir}/tcl${pkgver}#/usr/include#" \
+ -i "${pkgdir}/usr/lib/tclConfig.sh"
+
+ sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/tdbc1.0.0#/usr/lib/tdbc1.0.0#" \
+ -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc1.0.0/generic#/usr/include#" \
+ -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc1.0.0/library#/usr/lib/tcl${pkgver%.*}#" \
+ -e "s#${srcdir}/tcl${pkgver}/pkgs/tdbc1.0.0#/usr/include#" \
+ -i "${pkgdir}/usr/lib/tdbc1.0.0/tdbcConfig.sh"
+
+ sed -e "s#${srcdir}/tcl${pkgver}/unix/pkgs/itcl4.0.0#/usr/lib/itcl4.0.0#" \
+ -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl4.0.0/generic#/usr/include#" \
+ -e "s#${srcdir}/tcl${pkgver}/pkgs/itcl4.0.0#/usr/include#" \
+ -i "${pkgdir}/usr/lib/itcl4.0.0/itclConfig.sh"
}