diff options
Diffstat (limited to 'extra/tk')
-rw-r--r-- | extra/tk/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD index cf3fd5faf..1d2ceed17 100644 --- a/extra/tk/PKGBUILD +++ b/extra/tk/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 192227 2013-08-08 07:38:43Z eric $ +# $Id: PKGBUILD 194661 2013-09-20 16:55:22Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=tk -pkgver=8.6.0 -pkgrel=2 +pkgver=8.6.1 +pkgrel=1 pkgdesc="A windowing toolkit for use with tcl" arch=('i686' 'x86_64' 'mips64el') 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') +sha1sums=('ecfcc20833c04d6890b14a7920a04d16f2123a51') build() { cd tk${pkgver}/unix @@ -19,19 +19,20 @@ build() { make } -#check() { -# cd tk${pkgver}/unix +check() { + cd tk${pkgver}/unix # make test -#} +} package() { cd tk${pkgver}/unix make INSTALL_ROOT="${pkgdir}" install install-private-headers - ln -sf wish8.6 "${pkgdir}/usr/bin/wish" + ln -sf wish${pkgver%.*} "${pkgdir}/usr/bin/wish" ln -sf libtk${pkgver%.*}.so "${pkgdir}/usr/lib/libtk.so" 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" } |