summaryrefslogtreecommitdiff
path: root/extra/tk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-09 01:49:58 -0700
committerroot <root@rshg054.dnsready.net>2013-08-09 01:49:58 -0700
commit7978ce3c736ef00274d5956c378df572315702bd (patch)
treed7ad3d3505e9a534455353724fe110d23813e67e /extra/tk
parentd65d13a9fb3099310bb7736be11ee0724dde2dc7 (diff)
Fri Aug 9 01:49:55 PDT 2013
Diffstat (limited to 'extra/tk')
-rw-r--r--extra/tk/PKGBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index 5ae48ad4a..5150c48a5 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -1,42 +1,37 @@
-# $Id: PKGBUILD 173851 2012-12-25 00:34:54Z foutrelis $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 192227 2013-08-08 07:38:43Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=tk
pkgver=8.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="A windowing toolkit for use with tcl"
arch=('i686' 'x86_64')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=("tcl=${pkgver}" 'libxss' 'libxft')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tk${pkgver}-src.tar.gz)
-md5sums=('b883a1a3c489c17413fb602a94bf54e8')
+sha1sums=('c42e160285e2d26eae8c2a1e6c6f86db4fa7663b')
build() {
- cd ${srcdir}/tk${pkgver}/unix
-
+ cd tk${pkgver}/unix
[[ $CARCH == "x86_64" ]] && BIT="--enable-64bit"
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads $BIT
-
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-threads --disable-rpath $BIT
make
}
#check() {
-# cd ${srcdir}/tk${pkgver}/unix
+# cd tk${pkgver}/unix
# make test
#}
package() {
- cd ${srcdir}/tk${pkgver}/unix
-
- make INSTALL_ROOT=${pkgdir} install install-private-headers
- ln -sf wish8.6 ${pkgdir}/usr/bin/wish
-
- # install license
- install -Dm644 license.terms ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ cd tk${pkgver}/unix
+ make INSTALL_ROOT="${pkgdir}" install install-private-headers
+ ln -sf wish8.6 "${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 -i "s#${srcdir}#/usr/src#" "${pkgdir}/usr/lib/tkConfig.sh"
}