#!/bin/bash
echo "This skript will build kaffeine in your home directory"
echo "$PATH/kaffeine"
echo ""
echo "press return to proceed"
echo "Kaffeine depends on a few libraries, those will be installed as well"
read
apt-get build-dep kaffeine
cd
mkdir kaffeine
cd kaffeine
apt-get source kaffeine
cd kaffeine-2.0.18*
wget http://sundtek.de/support/kaffeine-2.0.18_support_sundtek_devices.diff
patch -p1 < wget kaffeine-2.0.18_support_sundtek_devices.diff
debuild -i -us -uc -b
