#!/bin/bash
# Script to facilitate building tcl/tk 8.6 binaries for CRAN in a chroot
# Matching CRAN sources must be in /etc/apt/sources.list of the chroot
apt-get update
apt-get build-dep tk8.6
apt-get source tk8.6
cd tk8.6-*
dpkg-buildpackage -B
cd ..