summaryrefslogtreecommitdiff
path: root/tk/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2007-10-24 15:42:18 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2007-10-24 15:42:18 +1000
commit1c5bb8da6359d3cca5e544997d4c15777df303db (patch)
tree394fca90577579a692481584cf94b8c443804360 /tk/Pkgfile
parentb900533a28b84d8c0965ab00d1a9d21fff6e523e (diff)
downloadcontrib-1c5bb8da6359d3cca5e544997d4c15777df303db.tar.gz
contrib-1c5bb8da6359d3cca5e544997d4c15777df303db.tar.xz
tk: Pkgfile cleanup
Diffstat (limited to 'tk/Pkgfile')
-rw-r--r--tk/Pkgfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/tk/Pkgfile b/tk/Pkgfile
index f945d41ae..e4c26369a 100644
--- a/tk/Pkgfile
+++ b/tk/Pkgfile
@@ -2,7 +2,7 @@
# URL: http://tcl.sourceforge.net/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Sven Dahl, dahl at c64 dot org
-# Depends on: xorg tcl
+# Depends on: xorg-libxft tcl
name=tk
version=8.4.14
@@ -28,8 +28,9 @@ build() {
sed -i "s|-L$SRC/tk$version/unix|-L/usr/lib|" $PKG/usr/lib/tkConfig.sh
- rm -rf $PKG/usr/lib/tk8.5/demos
- ln -sf wish8.4 $PKG/usr/bin/wish
+ rm -r $PKG/usr/lib/tk${version%.*}/demos
+ rm $PKG/usr/lib/tk${version%.*}/images/README
+ ln -s wish${version%.*} $PKG/usr/bin/wish
chmod -R u+w,go-w $PKG
find $PKG/usr/man -type f -print0 | xargs -0 chmod a-x
}

Generated by cgit