From 8996dd88e696bae485c13257572e2f38f5633251 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Sep 2013 01:42:57 -0700 Subject: Fri Sep 13 01:42:32 PDT 2013 --- extra/tcl/PKGBUILD | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'extra/tcl') 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 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" } -- cgit v1.2.3-54-g00ecf